Geeks With Blogs
Prasanna's Blog BizTalk, WCF, C# and Software Factories

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 4, 2008 4:57 PM | Back to top


Comments on this post: Build Error and Temporary ASP.NET Files

# re: Build Error and Temporary ASP.NET Files
Requesting Gravatar...
Awesome! Thanks
Left by Cg on Jul 25, 2008 1:48 AM

# re: Build Error and Temporary ASP.NET Files
Requesting Gravatar...
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...
Left by Sujith on Oct 22, 2008 4:27 AM

# re: Build Error and Temporary ASP.NET Files
Requesting Gravatar...
the VS2008 is very buggy , like all other MS stuff
Left by metalisa on Oct 27, 2008 4:18 PM

Your comment:
 (will show your gravatar)


Copyright © Prasanna Krishnan | Powered by: GeeksWithBlogs.net