Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Publishing options - to stop site recompiling

Posted on 2007-12-02
11
Medium Priority
?
352 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

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
 

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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

963 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