Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Publishing options - to stop site recompiling

Posted on 2007-12-02
11
Medium Priority
?
350 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
Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

730 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