Monday, March 12, 2012

VS 2005: Cannot set Configuration of web project to "Release"

Hi,

I am trying to build and deploy a web project from VS 2005 and am unable to
select "Release" when I look at the configuration manager. I have several
other projects that I am using that I am able to set to "Release", but I
only can choose "Debug" for the web project.

Can anyone help me out while I still have a few strands of hair left?

Thanks,
DaveMake sure your <compilation debug setting is "false",
in web.config, before you compile your web site.

For web projects that's the only way to get a Release compilation.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"David Adams" <dadams@.nospam-njs-ent.comwrote in message
news:eb9KqkT2GHA.4976@.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

Hi,
>
I am trying to build and deploy a web project from VS 2005 and am unable to select "Release" when
I look at the configuration manager. I have several other projects that I am using that I am able
to set to "Release", but I only can choose "Debug" for the web project.
>
Can anyone help me out while I still have a few strands of hair left?
>
Thanks,
Dave
>


"David Adams" <dadams@.nospam-njs-ent.comwrote in message
news:eb9KqkT2GHA.4976@.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

Can anyone help me out while I still have a few strands of hair left?


http://msdn.microsoft.com/asp.net/r...astructure/wdp/

0 comments:

Post a Comment