aspnet_compiler ?

  • Thread starter George Ter-Saakov
  • Start date
G

George Ter-Saakov

If I precompiled my project with aspnet_compiler do I need to have
web.config on a server?
Or all I need is just a BIN directory and aspx files as markers?

George.
 
J

Juan T. Llibre

Whether you use a web.config file, or not, is unrelated to
whether you precompile your project or not...or to its results.

You may, or may not, use a web.config file.
It's up to you and whether you need to change the default configuration options.

For more info on how the aspnet_compiler works, see :
http://msdn2.microsoft.com/en-us/library/ms229863.aspx
 
G

George Ter-Saakov

My main concern is with line
<compilation debug="true"/>
in my web.config.

From what you have said I since that everything will be compiled with
debug="false" (even if my web.config has it set to true)
Am I correct?

Also if I keep it as is on a server with debug=true in web.config will it be
a problem? Or that command is irrelevant at this point since everything was
compiled anyway already.


thanks
George.
 
J

Juan T. Llibre

re:
From what you have said I since that everything will be compiled with debug="false" (even if my
web.config has it set to true)
Am I correct?

No.

If you set compilation debug to "true" in web.config but the site is pre-compiled,
there's nothing to compile, so the instruction is ignored.

re:
Or that command is irrelevant at this point since everything was compiled anyway already.

Correct.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top