You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, if I create an empty hah.cs and run csc -errorreport:bogus -target:library hah.cs in Developer Command Prompt for VS 2017, then Microsoft (R) Visual C# Compiler version 2.10.0.0 (b9fb1610) does not warn about the unrecognized "bogus" argument.
csc -? still lists the option, though:
-errorreport:<string> Specify how to handle internal compiler errors:
prompt, send, queue, or none. The default is
queue.
That link should be removed. It isn't really relevant to how this option works. I've added ti to our backlog, and added the "up for grabs" label if you want to submit a PR that removes the link.
Activity
Youssef1313 commentedon Aug 29, 2019
Not sure if that helps, but here is the content of that dead link.
I think the information there isn't important, as windows XP support is ended long time ago, nearly no one uses it now.
KalleOlaviNiemitalo commentedon Aug 29, 2019
I thought perhaps the Dr. Watson link was originally added to help explain the content of the error report, and that if more recent versions of the compiler instead emit diagnostics in the same format as Windows 10, then a link to Diagnostic Data Viewer might be more useful. I then tried to verify this hypothesis by reviewing the Roslyn source code. However, the
-errorreportoption seems to have no effect at all; it does not even parse the argument. https://github.com/dotnet/roslyn/blob/5010ecae8b4890e4a655959e2b2612c33eb2bd7c/src/Compilers/CSharp/Portable/CommandLine/CSharpCommandLineParser.cs#L1180-L1181Indeed, if I create an empty
hah.csand runcsc -errorreport:bogus -target:library hah.csin Developer Command Prompt for VS 2017, then Microsoft (R) Visual C# Compiler version 2.10.0.0 (b9fb1610) does not warn about the unrecognized "bogus" argument.csc -?still lists the option, though:BillWagner commentedon Sep 3, 2019
Thanks for reporting this @KalleOlaviNiemitalo
That link should be removed. It isn't really relevant to how this option works. I've added ti to our backlog, and added the "up for grabs" label if you want to submit a PR that removes the link.
Youssef1313 commentedon Sep 3, 2019
@BillWagner, opened #14190 to fix that and remove extra whitespaces.