Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-21-2006, 10: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, 03:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Here's one way (using ILDASM).
Attached Files
File Type: bld detectdebug.bld (873 Bytes, 1436 views)
Reply With Quote
  #3  
Old 03-21-2006, 03: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


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 05:19 PM.


Copyright © 1999-2023 Kinook Software, Inc.