I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I\'m betting it\'s probably me.
I have a solution with an ASP.NET
I'll expound upon my comment a bit here, for those having a similar issue.
Open up the configuration manager by right clicking on the solution and choosing Configuration Manager, then make sure build is checked for the appropriate project (for your current configuration) in the right-hand column here:
