Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Detecting debug vs. release mode (https://www.kinook.com/Forum/showthread.php?t=1640)

tyacko 03-21-2006 09:36 AM

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.

kinook 03-21-2006 02:02 PM

1 Attachment(s)
Here's one way (using ILDASM).

tyacko 03-21-2006 02:49 PM

OK, I see what you are doing.

Thank you.


All times are GMT -5. The time now is 09:21 AM.


Copyright © 1999-2023 Kinook Software, Inc.