Solved

Publishing options - to stop site recompiling

Posted on 2007-12-02
11
343 Views
Last Modified: 2013-11-26
I right in saying that if i ,

1) goto visual studio,
2) open project,
3) goto menu build
4) publish web site.

And in order to simply avoid the website recompiling when files are added, all I have to do then is UNCHECK "Allow this precompiled site to be updatable"?
0
Comment
Question by:paulCardiff
  • 5
  • 4
11 Comments
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 20391501
You can publish once, then add files manually to your published files later.
0
 

Author Comment

by:paulCardiff
ID: 20391520
Ok i agree but the thing i'm questioning sorry is whether or not checking the "Allow this precompiled site to be updatable" box will allow recompiles after its released e.g. if i add file to the site will it recompile ?
0
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 20391548
When you select "Allow this precompiled site to be updatable", it means that:
Specifies that the content of .aspx pages are not compiled into an assembly; instead, the markup is left as-is, allowing you to change HTML and client-side functionality after precompiling the Web site. Selecting this check box is equivalent to adding the -u option to the aspnet_compiler.exe command.
http://msdn2.microsoft.com/en-us/library/ms178731(VS.80).aspx
0
 

Author Comment

by:paulCardiff
ID: 20391575
Ok thanks for that but does this also mean that the site won't recompile if files are added to the solution when live?
0
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 20391595
I do not think so.
It discusses the published files, not the source code.
It says that the just published site, can be updatable or not in the way mentioned before, not the source code files.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:paulCardiff
ID: 20434063
Thanks so is there any way to do this within VS ?
0
 
LVL 12

Expert Comment

by:Mortaza Doulaty
ID: 20435155
>>is there any way to do this within VS ?

To do what? Would you please describe more in details...
0
 

Author Comment

by:paulCardiff
ID: 20435208
Sure i mean precompile the application / publishing a site - in such a way that it won't recompile when i add pages or change the webconfig etc

I know you can do this in the command prompt but does VS Suport this in anyway?
0
 
LVL 12

Accepted Solution

by:
Mortaza Doulaty earned 500 total points
ID: 20436301
You can right click in the solution explorer and select "View in Browser"
In this case, without recompiling manually, your web site starts and your newly added pages are automatically compiled without your notice.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20592709
Forced accept.

Computer101
EE Admin
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now