dll Release or Debug?

  • Thread starter Thread starter Brent
  • Start date Start date
B

Brent

Is there any way to tell if a dll that was built was built in debug or
release mode? We are having a problem with one of our production processes
and we think it might be because this dll was build incorrect. Is there any
good way to check this if the dll hasn't been obsficated (or however you
spell it). Is there anyway to check to make sure it was built with
optimization on?

thanks,
Brent
 
Brent,

Good question. I've always included the following.

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

Brian
 
Thanks Brian for the tip. We actually might start implementing this in all
our Dlls.
Brian Gideon said:
Brent,

Good question. I've always included the following.

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

Brian
No one knows?
 
Back
Top