I am trying to configure a build server using CruiseControl.Net and MSBuild. However, it does not work with an error:
"C:\Builds\PremiumStore\checkout\PremiumStore.sln" (default target) (1) -> "C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj" (default target) (37) -> (ResolveComReferences target) -> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2151,5): error MSB3091: Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK- NetFx40Tools-x86.` You may be able to solve the problem by doing one of the following: 1. Install the Microsoft Windows SDK. 2. Install Visual Studio 3. Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Builds\PremiumStore\checkout\Web\PremiumStoreWeb.csproj]
The same thing works great on my machine, not on the server.
I tried to find a solution all over the Internet, but I can not find it. If possible, I would prefer not to install Visual Studio on the build server. This is a kind of over installation for installing the entire IDE just for creating string commands. I installed Microsoft Build Tools 2013 on this server, but it doesn't seem to help.
I tried to enter the path into the registry, as suggested in the error message, but that didn't work either. I also checked the path specified in the registry, and the aximp.exe file is really present, but in a subfolder called "NetFx 4.5.1 Tools". However, copying files from here one level to the parent folder "bin" also does not help.
If this helps, my build server runs on Windows Server 2012.
Thanks in advance.
visual-studio-2012 asp.net-mvc-4 msbuild windows-server-2012
ckng
source share