C# – Visual Studio project not building when I click debug or press F5

cdebuggingvisual studio 2010

VS2010 c#, winforms project.

It does not build automatically when I click on debug or press f5. If I manually build the project before I debug, it compiles and changes are picked up.

My other projects all work as expected. Why doesn't it build automatically?

Best Answer

Right-click the Solution (not project) in the Solution Explorer and select Configuration Manager. Check if Build is turn off for the current configuration.