When I try to build my projects in Visual Studio 2008, web sites won't build anymore, they hang on this stage:
------ Build started: Project: C:\...\Web\, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/Web/Admin/Secure/'.
Building directory '/Web/Admin/'.
Building directory '/Web/Students/'.
Building directory '/Web/'.
Validation Complete
And I have to cancel it as it doesn't complete even after leaving it for an hour. Does anyone have any ideas on what's going on? Class libraries build fine.
Tools > Options > Projects and Solutions > Build and RunThe selection in the second dropdown “On Run, when build or deployment errors occur”, even if the code has the error during the run, project runs with the last successful build.
Try clearing out all the temporary files in
C:\WINDOWS\Microsoft.NET\Framework\<Framework Version>\Temporary ASP.NET Files
This has solved similar issues for me in the past.
This can also often happen in the event that you have a 3rd party control that is not licensed\registered properly. It may be attempting to display a warning\registration UI that is not making it to focus. We have had this issue on our build servers alot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With