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
Before we work on this, I'd like the C# team to weigh in on which ones we should officially support (as opposed to options the team uses for internal diagnostics)
When in doubt, I would rely on options that are listed in csc -help as the ones we support (I don't think we've been maintaining this document as carefully).
Looking at csc -help, I see that all the options listed above are included, so I think they should be documented.
When in doubt, I would rely on options that are listed in csc -help as the ones we support (I don't think we've been maintaining this document as carefully).
Looking at csc -help, I see that all the options listed above are included, so I think they should be documented.
Perhaps this is an area for improvement. Instead of trying to capture an exhaustive list of options, we should first focus on explaining the discoverability aspect of the CLI? How to consume help, learn about options, and consume them. Not necessarily saying that we shouldn't still try to cover all the options in the docs, just that we need to empower users when possible.
As part of the simplification of the C# Guide, I'd proposed consolidating the compiler options into a single page. All of them are quite short, and none have significant traffic.
errorlog was added in dotnet/roslyn#1272 before Visual Studio 2015, but the log format has been changed later and the history might be difficult to document accurately. There is some information about the current format in Error Log Format.md.
Activity
BillWagner commentedon Aug 14, 2020
/cc @jcouv
Thanks for writing this @Youssef1313
Before we work on this, I'd like the C# team to weigh in on which ones we should officially support (as opposed to options the team uses for internal diagnostics)
jcouv commentedon Aug 17, 2020
When in doubt, I would rely on options that are listed in
csc -helpas the ones we support (I don't think we've been maintaining this document as carefully).Looking at
csc -help, I see that all the options listed above are included, so I think they should be documented.IEvangelist commentedon Aug 17, 2020
Perhaps this is an area for improvement. Instead of trying to capture an exhaustive list of options, we should first focus on explaining the discoverability aspect of the CLI? How to consume help, learn about options, and consume them. Not necessarily saying that we shouldn't still try to cover all the options in the docs, just that we need to empower users when possible.
BillWagner commentedon Aug 17, 2020
I like the previous proposal.
As part of the simplification of the C# Guide, I'd proposed consolidating the compiler options into a single page. All of them are quite short, and none have significant traffic.
KalleOlaviNiemitalo commentedon Jan 15, 2021
errorlogwas added in dotnet/roslyn#1272 before Visual Studio 2015, but the log format has been changed later and the history might be difficult to document accurately. There is some information about the current format in Error Log Format.md.