# Please Install This Dependencies to Image

**URL:** <https://travis-ci.community/t/please-install-this-dependencies-to-image/3651>\
**Category:** Windows\
**Created:** [June 7, 2019, 1:23pm UTC](https://travis-ci.community/t/please-install-this-dependencies-to-image/3651 "2019-06-07T13:23:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tugrul](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/tugrul/32/1823_2.png) [@tugrul](https://travis-ci.community/u/tugrul)\
**Post date:** [June 7, 2019, 1:23pm UTC](https://travis-ci.community/t/please-install-this-dependencies-to-image/3651/1 "2019-06-07T13:23:52Z")

</div>

I want to test node.js addon on older versions.

Build job is giving following error:

```auto
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".

```

I learned the solution. [https://github.com/microsoft/msbuild/issues/4415](https://github.com/microsoft/msbuild/issues/4415)

But there is an other problem.

```auto
error MSB3428: Could not load the Visual C++ component "VCBuild.exe". 
To fix this, 
1) install the .NET Framework 2.0 SDK, 
2) install Microsoft Visual Studio 2005 or 
3) add the location of the component to the system path if it is installed elsewhere.

```

Please enable dotnet 3.5 and install dependencies

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [June 11, 2019, 8:50am UTC](https://travis-ci.community/t/please-install-this-dependencies-to-image/3651/2 "2019-06-11T08:50:53Z")

</div>

You might be able to install the .net 2.0+3.0+3.5 feature yourself with powershell’s [`Get-WindowsFeature`+`Install-WindowsFeature`](https://docs.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features#install-roles-role-services-and-features-by-using-windows-powershell-cmdlets). (The docs don’t specify anything about elevation so I don’t know if that’ll work.)

`vcbuild.exe` is a part of VS 2005 and VS 2008 which are not freely available unless you have an MSDN subscription or something. Express Editions are but they only have an x86 compiler toolchain – dunno if that’s a showstopper for you.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [June 12, 2019, 6:19pm UTC](https://travis-ci.community/t/please-install-this-dependencies-to-image/3651/3 "2019-06-12T18:19:10Z")

</div>

> [@native-api](#):
>
> You might be able to install the .net 2.0+3.0+3.5 feature yourself with powershell’s [`Get-WindowsFeature` + `Install-WindowsFeature`](https://docs.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features#install-roles-role-services-and-features-by-using-windows-powershell-cmdlets). (The docs don’t specify anything about elevation so I don’t know if that’ll work.)

[Travis CI - Test and Deploy with Confidence](https://travis-ci.org/native-api/test_travis/builds/544105739) shows that this is not possible:

> ```
> $ powershell -c 'Get-WindowsFeature'
> Display Name Name Install State
> ------------ ---- -------------
> <...>
> [] .NET Framework 3.5 Features NET-Framework-Features Available
> [] .NET Framework 3.5 (includes .NET 2.0 and 3.0) NET-Framework-Core Removed
> <...>
> 
> ```

So, only Travis staff can say something here…
