We have a DLL that extends a 3rd party application. I would like to have this DLL open up a console window when it launches purely for debugging purposes. I know of the trick to do this with a windows application (change the output type to console application). Is there any way to do this with a class library?
Share
I’d recommend using
System.Diagnosticsnamespace and using theDebug.*/Trace.*methods. Retrieving it is then a matter of using your IDE or (if running in another application) something like DebugView.