#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
Here's one way (using ILDASM).
|
#3
|
|||
|
|||
OK, I see what you are doing.
Thank you. |
|
|