I would like to know in C# or VB.NET if at any time I could send all the output that is written in the debug console of my IDE, to the clipboard.
Example Pseudo-Code in vb.net:
For x as integer = 0 to integer.maxvalue
debug.writeline("test console line " & x)
next
Clipboard.SetText(Debug.Output)
I would like to copy all the lines of the debug console, including the messages that were written at the moment of execution, just ALL:
WindowsApplication6.vshost.exe' (CLR v4.0.30319: WindowsApplication6.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. etc... test console line 1 test console line 2 test console line 3 etc...
I hope that maybe using DTE (or easier) it could be done, any ideas?