Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-21-2006, 09:36 AM
tyacko tyacko is online now
Registered User
 
Join Date: 05-29-2003
Location: Pittsburgh, PA
Posts: 6
Question Detecting debug vs. release mode

Is there any way that I can check to see if a pre-built dll was built in debug mode versus release mode for .NET dlls? We've had instances where the dlls was rebuilt by a developer in debug mode and forgot to build it in release mode.

I would like to programatically look at the dlls to see if any of them are in debug mode and prevent the build process from continuing because of it.

We use .NET 2003 and we running version 6.0a of Visual Build Pro.

Any assistance would be greatly appreciated. I couldn't find anything in the help towards this.
Reply With Quote
  #2  
Old 03-21-2006, 02:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,744
Here's one way (using ILDASM).
Attached Files
File Type: bld detectdebug.bld (873 Bytes, 352 views)
Reply With Quote
  #3  
Old 03-21-2006, 02:49 PM
tyacko tyacko is online now
Registered User
 
Join Date: 05-29-2003
Location: Pittsburgh, PA
Posts: 6
OK, I see what you are doing.

Thank you.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:56 AM.


Copyright 1999-2019 Kinook Software, Inc.