TFS Crash Due to Missing Programs

I am trying to create a project using TFS2010 Build.TFS, which is on my own server, and I am trying to create a directory on the same machine. The server is not installed VS2010. When the assembly works, it fails and gives me this error:

c: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets (1558): The task could not be completed because "AxImp.exe" was not found or the correct Microsoft Windows SDK was not installed. The task searches for β€œAxImp.exe” in the β€œbin” subdirectory under the location specified in the InstallationFolder value of the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Microsoft SDK \ Windows \ v7.0A registry key. You can solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually install the above registry key in the right place. 4) Pass the correct location to the "ToolPath" parameter of the task.

Then I get a whole bunch of errors saying that the namespaces of the project I create cannot be found. I am not sure that all this is due to the above error.

Thank!

+5
source share
3 answers

You need to have the same software as the build server, as if you were building locally. This means that you need Visual Studio 2010 and possibly the same version of Visual Studio 2010, depending on what you are trying to create.

+6
source

It is recommended that Visual Studio 2010 be installed on your build machine, but this is not a requirement. Since the error message indicates that he did not find AxImp.exe, can you check if this file exists on the build machine? This is C: \ Program Files (x86) \ Microsoft SDK \ Windows \ v7.0A \ Bin (if you are on 64-bit Windows).

, .NET Framework SDK, , .

Visual Studio , Visual Studio , , , , Visual Studio. , , Visual Studio 2010. , .

:

enter image description here

+7

: Visual Studio PER USER. , , , , , .

"" - " " - , Visual Studio , TFS.

+4
source

All Articles