Compile time error BC2014: the value 'None' is invalid for option

Discussion in 'ASP .Net' started by Steve Mauldin, Jul 31, 2007.

  1. I am posting this again because I never got a solution to this problem.

    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.

    Also I already have in my web config file <compilation defaultLanguage="vb"
    debug="true"/>
    and I am getting this message if the debug is set to true or false in the
    web.config file if I am trying to compile in release mode with the Generate
    Debug Info dropdown set to None. If I change the Generate Debug Info
    dropdown set to PDB-Only or Full then the project compiles fine reguardless
    of release or debug mode. I hope this clarifies the problem I am having.

    Thanks for your help.
     
    Steve Mauldin, Jul 31, 2007
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Freeman
    Replies:
    8
    Views:
    8,393
    tcena9
    Feb 16, 2011
  2. Daniel Crespo
    Replies:
    5
    Views:
    566
    Amaury
    Nov 13, 2005
  3. alf
    Replies:
    9
    Views:
    648
  4. news.microsoft.com

    release mode Compile error BC2014

    news.microsoft.com, Jul 13, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    544
    news.microsoft.com
    Jul 13, 2007
  5. Gerald Britton

    <var> is None vs. <var> == None

    Gerald Britton, Jan 23, 2009, in forum: Python
    Replies:
    7
    Views:
    426
    Steve Holden
    Jan 24, 2009
  6. Steve Holden

    Re: <var> is None vs. <var> == None

    Steve Holden, Jan 23, 2009, in forum: Python
    Replies:
    9
    Views:
    436
    Steve Holden
    Jan 26, 2009
  7. Carter
    Replies:
    2
    Views:
    692
    Carter
    Mar 4, 2009
  8. length power
    Replies:
    2
    Views:
    264
    Rustom Mody
    Apr 10, 2014
Loading...