Visual Studio 2005 not building web site
Posted on 2007-11-14
I have a web site I'm building in Visual Studio 2005.
However, when I select Build or Rebuild, all I get is:
------ Rebuild All started: Project: R:\WebApps\Dashboard\, Configuration: Debug .NET ------
Validating Web Site
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
It clearly doesn't actually build the website. If it did, it would have the line:
Building directory '/Dashboard/'.
Between the two about Validating. It would also spit out some errors, which I know are there.
So far, I've tried a number of things to fix this:
1. Created a new site, and copied all the content into it (in case it was the .sln or .suo file causing the problem)
2. Reset all the settings in Visual Studio (Tools | Import and Export Settings ...) I tried both C# and Web development settings. However, I did not entirely expect this to work as settings apply to all projects and...
3. I loaded another web project, and tried building that - it worked fine. The other project was on the same web server as the problem project
4. I deleted all the files in the .Net temp folder for this project (at %systemroot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files). After restarting VS 2005, the problem was still there.
Any ideas? This is really frustrating. Although the project will build on the server when the first page is requested after an update, any compilation errors are only ever presented one at a time, which makes the whole development/debug process very slow.
Help me please!