Solved

Publishing options - to stop site recompiling

Posted on 2007-12-02
11
347 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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