Display console application window for debugging a DLL
.net, .net-4.0, c#, class-library, visual-studio-2010
Solution
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.
Problem
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?