Solved

Publishing options - to stop site recompiling

Posted on 2007-12-02
11
342 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

16 Experts available now in Live!

Get 1:1 Help Now