473,387 Members | 1,304 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

dll Release or Debug?

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
Sep 22 '06 #1
3 3956
No one knows?

"Brent" <br*****@spam.hotmail.comwrote in message
news:ug**************@TK2MSFTNGP02.phx.gbl...
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

Sep 25 '06 #2
Brent,

Good question. I've always included the following.

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

Brian

Brent wrote:
No one knows?

"Brent" <br*****@spam.hotmail.comwrote in message
news:ug**************@TK2MSFTNGP02.phx.gbl...
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
Sep 25 '06 #3
Thanks Brian for the tip. We actually might start implementing this in all
our Dlls.
"Brian Gideon" <br*********@yahoo.comwrote in message
news:11*********************@b28g2000cwb.googlegro ups.com...
Brent,

Good question. I've always included the following.

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

Brian

Brent wrote:
>No one knows?

"Brent" <br*****@spam.hotmail.comwrote in message
news:ug**************@TK2MSFTNGP02.phx.gbl...
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

Sep 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stanley | last post by:
I am working with Exceptions and have found a bit of a problem for me. Using the code below in Debug I get the info I want which is basically: -Line of error -Column of error -Method where error...
7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
3
by: | last post by:
Since I need to dotfuscate my exe file anyway, does it make any difference if I use Debug or Release versions. Would a Debug version be easier to decompile/study/reverse engineer than a Release...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
2
by: Epetruk | last post by:
Hello, I have a problem where an application I am working on throws an OutOfMemoryException when I run it in Release mode, whereas it doesn't do this when I am running in Debug. The...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
7
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I...
3
by: TBass | last post by:
Hello, Is there a way to get Visual Studio 2003 look to one directory for debug version dlls when set to DEBUG and then to another directory where I store the release version of a dll when set...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.