Hi,
I want to compile an assembly in release mode and also produce a .PDB file. Reason is that if there is a .PDB file, line numbers are included in stack traces that come with exceptions.
I tried adding a define="DEBUG" attribute to the CSC task in my Nant scripts but to no avail. Anybody any idea? If I compile in Visal Studio I can create a release assembly with a .PDB file without problems. (I found out how on http://www.knowdotnet.com/articles/linenumbersinreleasemode.html)
Thanks, Bert-Jan |
- [Nant-users] compiling in release mode with define:D... Bert Jan Lappenschaar
- RE: [Nant-users] compiling in release mode with... Gert Driesen