I have created a Team Build that builds a solution containing a Web site, multiple class libraries (project references to the Web site) along with other compiled references, and a Web Deployment Project (WDP). Everything is working well except when I deploy (either via Team Build or the WDP). The deployed directory structure looks correct, but when I navigate to the first page I receive "The file '/WhatSite/FirstPage.aspx' has not been pre-compiled, and cannot be requested."
Here's the kicker: When I set the WDP's Output Assemblies property to "Merge all outputs to a single assembly" and deploy, the default page returns the error above. When I set the Output Assemblies to "Merge each individual folder output to its own assembly" and deploy, the default page loads correctly but all subsequent pages return the error.
If I go back to the plain Publish Web Site under the Build menu, the site works as expected.
What am I missing or does anyone have any ideas?
View Complete Post