In our team, the devs all have Visual Studio 2012, and we also use TFS2012 build. For space & manageability reasons, we don't install Visual Studio on our (many) build agents. This has worked so far with C# projects (csproj).
Now we want to add support for C++ project (vcxproj). These build on devs' machines, but not on the build agents - we get:
X.vcxproj(31,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
I suppose this is because the C++ compiler & targets are only installed with VS.
- Is there a way to checkin just the compiler & targets, and set some property in our common.targets to point there?
- Failing that, what is the minimum I need to install on each build agent to support C++ compilation? The least I could find was VS Express, which is still too much to my liking.
c:\Program Files (x86)\MSBuild\Microsoft.Cpp. The build agent doesn't have that folder.