This afternoon i had changed the name of one of the Assembly which was refered by ASP.net web site. I had removed the Old reference and re-added the new assembly.

Few moments later i tried to build the website and it's not possible due to a failure in the build process. Error List had several errors. I clicked on the error descrpition and it opened a class file. This file doesn't belong to my current project. It was a temporary asp.net file , this file is related to a real class file on my project and the code is same.

I put off the Cassini and tried rebuild again, the result was same.

Solution :

Remove the related ASPX and .CS file from the ASP.Net web solution, re-build and run the solution. if it doesnt spit any more wiered errors then re-add the ASPX and .CS file to the solution it should compile.

Note: ASP.Net is just a code generator

posted on Monday, February 04, 2008 4:57 PM

Comments

Gravatar
# re: Build Error and Temporary ASP.NET Files
posted by Cg
on 7/25/2008 1:48 AM
Awesome! Thanks
Gravatar
# re: Build Error and Temporary ASP.NET Files
posted by Sujith
on 10/22/2008 4:27 AM
When I remove the file, the build is successful. But when I add it again the errors in the temporary files pops up. I have tried deleting the temporary files and resetting the IIS but in vain...
Gravatar
# re: Build Error and Temporary ASP.NET Files
posted by metalisa
on 10/27/2008 4:18 PM
the VS2008 is very buggy , like all other MS stuff

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: