hi
You can add debug section on your assembly that would only run in debug
mode using #IFDEBUG
#ENDIF
Or you can use the debug class (found in the diagnostic namespace) to write
to some log (this will be done only on debug mode)
I mean there are many way do make sure if you are developer of the
assembly, but if you are not … I don't know who would you that. I f you
have copy of both version however, you can know for sure that the larger
size one is the debug version.
hope that helps
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
You can add debug section on your assembly that would only run in debug
mode using #IFDEBUG
#ENDIF
Or you can use the debug class (found in the diagnostic namespace) to write
to some log (this will be done only on debug mode)
I mean there are many way do make sure if you are developer of the
assembly, but if you are not … I don't know who would you that. I f you
have copy of both version however, you can know for sure that the larger
size one is the debug version.
I need it in order to distinguish between development version(debug) and
deployment
version (release). Of course I can do it by one option in config file but I
would like to go one
step further and eliminate this option.
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.