473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Don't understand "application is already precompiled"

When and what does .Net want to compile? I have a file called
upload.cs. I made changes to it. Tried to rebuild. But it won't
saying "the application is already precomiled." I would have expected
the cs code change to update the Dlls or something. What is it that
I'm not getting? Even if it is precompiled, why can't I compile it
again? Thanks....

Jul 6 '07 #1
4 6323
Why not try switching your project to the Web Application Project model,
instead of the Web Site model. You may find it a lot more intuitive. I do.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder(BETA): http://www.blogmetafinder.com

"Dave" wrote:
When and what does .Net want to compile? I have a file called
upload.cs. I made changes to it. Tried to rebuild. But it won't
saying "the application is already precomiled." I would have expected
the cs code change to update the Dlls or something. What is it that
I'm not getting? Even if it is precompiled, why can't I compile it
again? Thanks....

Jul 6 '07 #2
aspnet supports precompiled vdirs. if precompiled, the aspnet compiler
will not recompile the site, because all the source files may not be
there (if you look at the aspx pages they should be empty).

normally you precompile to a new folder, not inplace. anyway just delete
precompiledapp.config


Dave wrote:
When and what does .Net want to compile? I have a file called
upload.cs. I made changes to it. Tried to rebuild. But it won't
saying "the application is already precomiled." I would have expected
the cs code change to update the Dlls or something. What is it that
I'm not getting? Even if it is precompiled, why can't I compile it
again? Thanks....
Jul 6 '07 #3
On Jul 6, 2:55 pm, bruce barker <nos...@nospam.comwrote:
aspnet supports precompiled vdirs. if precompiled, the aspnet compiler
will not recompile the site, because all the source files may not be
there (if you look at the aspx pages they should be empty).

normally you precompile to a new folder, not inplace. anyway just delete
precompiledapp.config

Dave wrote:
When and what does .Net want to compile? I have a file called
upload.cs. I made changes to it. Tried to rebuild. But it won't
saying "the application is already precomiled." I would have expected
the cs code change to update the Dlls or something. What is it that
I'm not getting? Even if it is precompiled, why can't I compile it
again? Thanks....- Hide quoted text -

- Show quoted text -
Okay, I get it now. So obvious. Duh..

Jul 6 '07 #4
On Jul 6, 2:28 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.comwrote:
Why not try switching your project to the Web Application Project model,
instead of the Web Site model. You may find it a lot more intuitive. I do.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder(BETA): http://www.blogmetafinder.com

"Dave" wrote:
When and what does .Net want to compile? I have a file called
upload.cs. I made changes to it. Tried to rebuild. But it won't
saying "the application is already precomiled." I would have expected
the cs code change to update the Dlls or something. What is it that
I'm not getting? Even if it is precompiled, why can't I compile it
again? Thanks....- Hide quoted text -

- Show quoted text -
Okay, thanks, I will give that a try. I'm still don't understand what
I have to do to get changes to my .cs file to have any effect. Maybe
this will help.

Jul 6 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

51
by: Noam Raphael | last post by:
Hello, I thought about a new Python feature. Please tell me what you think about it. Say you want to write a base class with some unimplemented methods, that subclasses must implement (or...
2
by: David | last post by:
My email application was working a couple of weeks ago, then all of a sudden I get Error Type: (0x8009000F) Object already exists. I checked the permissions on the machinekeys directory...
205
by: Jeremy Siek | last post by:
CALL FOR PAPERS/PARTICIPATION C++, Boost, and the Future of C++ Libraries Workshop at OOPSLA October 24-28, 2004 Vancouver, British Columbia, Canada http://tinyurl.com/4n5pf Submissions
2
by: CVerma | last post by:
I'm using an html input control (System.web.UI.HTMLControls.HTMLInputFile) to upload files such as msword, excel, jpg, and pdf. I have the encType property set in the form:...
1
by: Robert Halford | last post by:
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are...
8
by: Just Me | last post by:
1)How can I find the folders like "My Recent Document", "Desktop", "My Pictures",... if I want to store a file there? 2) How can I find the icon for those files if I want to display it? ...
13
by: Kobee | last post by:
Hi, I'm having a few issues adapting to new 2.0 "website" project vs. the old 1.1 "web application". One of the major issues I'm having is with the notion of namespaces. Using the old way, I...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: Steve Holden | last post by:
Hank @ITGroup wrote: Well, now you've told us a little more about your application I can understand that you need to be careful with memory allocation. The best thing you can do is to ensure...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.