Is there any way to tell visual studio to not include a project when building the solution without just removing the project from the solution?
The situation I have is that one project in a solution requires a plugin/tool/library that I don’t have installed, but another developer on our team does. So when I try to build the solution, I get compilation errors. It’s a unit testing project, so removing it from compilation wouldn’t affect the function of the application.
I don’t want to remove the project from the solution, because he would then just need to re-add it after I check in the solution (and then I would need to remove it when I check it out, ad infinitum).
Go to the “Build” dropdown, choose “Configuration Manager”, and you can select which configuration you want to update. Then in the list of project below, deselect the “Build” checkmark on the project you want to exclude from the build.