A project that doesn't switch to release mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JB

    A project that doesn't switch to release mode

    Hi All,

    I'm experiencing a strange behaviour in VB.NET 2005.
    My solution contains 4 Projects. When I want to compile a release
    version, I go to the Configuration Manager and change the Active
    Solution Configuration to Release. I see all my project in the list
    changing to Release.
    However 1 of them (it's a class library) doesn't really change to
    release and the DLL file is still generated in the Debug folder.
    Furthermore when I go to the property page of that project, the
    Compile Tab doesn't show the Active Configuration and Platform combo
    box like the other projects do. In fact even when I manually change
    the Build Output Path to Release, the DLL still gets generated in
    Debug!

    I'm obviously missing something...
    Can somebody shade a light?

    Thanks
    JB
  • sloan

    #2
    Re: A project that doesn't switch to release mode

    I would stop using the GUI.

    It's too slow, and prone to issues.

    Check


    for a .bat file that uses MSBUILD to build release versions.



    "JB" <jb.brossard@gm ail.comwrote in message
    news:122dc3b7-2290-4155-b62e-a78ba33ddd69@b2 g2000prf.google groups.com...
    Hi All,
    >
    I'm experiencing a strange behaviour in VB.NET 2005.
    My solution contains 4 Projects. When I want to compile a release
    version, I go to the Configuration Manager and change the Active
    Solution Configuration to Release. I see all my project in the list
    changing to Release.
    However 1 of them (it's a class library) doesn't really change to
    release and the DLL file is still generated in the Debug folder.
    Furthermore when I go to the property page of that project, the
    Compile Tab doesn't show the Active Configuration and Platform combo
    box like the other projects do. In fact even when I manually change
    the Build Output Path to Release, the DLL still gets generated in
    Debug!
    >
    I'm obviously missing something...
    Can somebody shade a light?
    >
    Thanks
    JB

    Comment

    Working...