Friday, 8 July 2011

Visual Studio Project is complied even though I've set it not to complie

I have a solution in Visual Studio 2010 with numerous projects and 1 of these projects must not be compiled when building the solution. I know you can set this in the Configuration Manager by un-ticking the Build checkbox.

But, there is another place as well that I over looked when working with a website project.

Right click on the website project
Select Property Pages > Build
Un-tick the Build solution action option Build Web site as part of solution


Simple enough but easily over looked.

No comments: