I just started with C# and VS, how is possible to copy my error message.
In the below image I want to copy 'System.Net.HttpWebRequest...
I just started with C# and VS, how is possible to copy my error message.
In the below image I want to copy 'System.Net.HttpWebRequest...
Select "View" in menu bar and enable "Error List" which will pop up on the bottom of the screen by default containing all the errors with possibility to copy the message.
You can use this extension:
Make it easier to work with items in the Visual Studio Error List by copying or searching (with Bing, Google, or StackOverflow) for just the description of an error.
No more wasting time copying the whole row and then extracting the description. This extension adds helper commands to make it easier for dealing with errors.
When there are bugs to fix, you don't want to be messing about with re-typing error messages or a clipboard full of unhelpful junk.
Go to Tools > Options > Error Helper and choose to search with Bing, Google, or StackOverflow. You can also opt to remove file paths from search strings.
It's available for Visual Studio 2022 and Visual Studio 2019
Try to rebuild solution and then you can copy this error from Error List.
Try to build your program, then from the Error List Window you can copy an error by pressing Ctrl+C (or right-clic -> copy)