Re: release mode Compile error BC2014

Tech-Archive recommends: Fix windows errors by optimizing your registry



Just add this entry to the web.config file :


<compilation debug="true" />



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"news.microsoft.com" <twsilentdeath@xxxxxxxxxxx> wrote in message news:e4pTxjXxHHA.736@xxxxxxxxxxxxxxxxxxxxxxx
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error:

Command line error BC2014: the value 'None' is invalid for option 'debug'.

If I go into the projects Advanced Compile Options and change the Generate Debug Info dropdown from None to PDB-Only
the error goes away. Can anyone explain why I have to do this and what can I do to get the one option to work on a
asp.net project? It is causing problems because the common project is shared with a VB project that gets an error on
release mode compile if it is set to pdb-only.

Thanks for your help.



.