In Visual Studio, you can unload a project, and when you build the solution (Right-click/build), the unloaded project is not built. However, when you run MSBuild from the command line, like this;
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe "$slnFile" /t:build /p:Configuration=Debug /verbosity:minimal the project is built. Is there a way to get MSBuild to respect the projects unloaded in Visual Studio?
The situation is that we have a solution with a number of projects. One of them requires special software to build, and that exists on our build machine but not on all developer machines. This means I can't do a straight command-line build or it fails when it encounters the rogue project.
Any ideas?
[EDIT: MSBuild must be able to do this, because Visual Studio uses MSBuild to do the building. What does VS do that the command line doesn't?]