I followed the instructions and everything worked fine.
- The Web application builds
- The web deployment project precompiled the web application
- The Web Setup project created the MSI file for installation on the server
Now though I cannot make any changes to my Web Application because I keep getting the following error when I hit "Build Website":
"This application is already precompiled"
And the most obvious was making sure in the "web Deployment project" that I checked the box to allow the web site to be upgradeable after precompiling, but it doesn't make a difference.
Can someone please help me so that I can update my site?
I was having the same problem described in this thread. Look in your project in visual studio and see if there is a ' PrecompiledApp.config ' file. Delete this file and you should be able to make changes and recompile your application.
I was experiencing the same problem and was able to get working again by deleting that PrecompiledApp.config file. It also stuffed up a lot of my references and the removed all the CodeFile="..." attributes.
What I still don't understand is how my Web Deployment project decided to deploy the precompiled code over all the files in the normal source directory. Luckily this was a very small part of a larger solution (and I had a proper version in source control
to draw on); otherwise this would have been extremely frustrating. I'm a big fan of Web Deployment Projects, however this sort of flakiness is a bit worrying.
dear developer in your project there is App_Code folder is the main reason for this problem firstly remove all the classes and run it will give some other error and recreate this again App_Code and copy all the classes into that ur application
will run(the classes should be in same namespace)
VirtueTech
Member
75 Points
17 Posts
This application is already precompiled - Help?
Jun 27, 2006 05:12 PM|LINK
Hello everyone,
I followed ScottGu's blog on using "Web Deployment Projects" to deploy my web application from this URL: http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx
I followed the instructions and everything worked fine.
- The Web application builds
- The web deployment project precompiled the web application
- The Web Setup project created the MSI file for installation on the server
Now though I cannot make any changes to my Web Application because I keep getting the following error when I hit "Build Website": "This application is already precompiled"
And the most obvious was making sure in the "web Deployment project" that I checked the box to allow the web site to be upgradeable after precompiling, but it doesn't make a difference.
Can someone please help me so that I can update my site?
Thanks.
-- Jim
blomm
Member
5 Points
1 Post
Re: This application is already precompiled - Help?
Jul 05, 2006 03:11 PM|LINK
Hey VirtueTech,
sorry, i dont have an answer to your query, but rather the same problem. i'm hoping you found something ground breaking and helpful?
i've searched and searched, and tried every suggestion i've come across, but to no avail.
Cheers,
Mike
spoosh
Member
7 Points
2 Posts
Re: This application is already precompiled - Help?
Jul 06, 2006 12:37 PM|LINK
- Johnathon Sprouse, MCTS
mikbyrne
Member
59 Points
13 Posts
Re: This application is already precompiled - Help?
Nov 08, 2006 08:55 PM|LINK
I was experiencing the same problem and was able to get working again by deleting that PrecompiledApp.config file. It also stuffed up a lot of my references and the removed all the CodeFile="..." attributes.
What I still don't understand is how my Web Deployment project decided to deploy the precompiled code over all the files in the normal source directory. Luckily this was a very small part of a larger solution (and I had a proper version in source control to draw on); otherwise this would have been extremely frustrating. I'm a big fan of Web Deployment Projects, however this sort of flakiness is a bit worrying.
Web Projects Director
adenissov
Member
6 Points
3 Posts
Re: This application is already precompiled - Help?
Feb 03, 2010 03:21 PM|LINK
Removing PrecompiledApp.config helped me with the same problem in VS 2008
pravin.gomek...
Member
3 Points
1 Post
Re: This application is already precompiled - Help?
Jun 01, 2012 05:59 AM|LINK
dear developer in your project there is App_Code folder is the main reason for this problem firstly remove all the classes and run it will give some other error and recreate this again App_Code and copy all the classes into that ur application will run(the classes should be in same namespace)
azizi021@hot...
Member
96 Points
24 Posts
Re: This application is already precompiled - Help?
Jun 26, 2012 07:04 PM|LINK
Removing PrecompiledApp.config helped me with the same problem in VS 2010
BizTalk & SharePoint Developer