I have a VS solution with two projects: one is the actual code (which builds into a dll), the other is sample code that exercises the dll code. Without deleting the sample code, is there a way I can prevent the build from outputting the sample code?
Share
Open solution properties in Solution Explorer, right click, Properties, then Configuration Properties, then uncheck the projects you don’t want to build in this configuration.
Check Solution Configuration on MSDN for details.