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?
I'd recommend using System.Diagnostics namespace and using the Debug.*/Trace.* methods. Retrieving it is then a matter of using your IDE or (if running in another application) something like DebugView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With