dll Release or Debug?

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
 
B

Brian Gideon

Brent,

Good question. I've always included the following.

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

Brian
 
B

Brent

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top