Skip to content

Missing C# compiler option #20061

Closed

Description

@Youssef1313

The doc from Roslyn's repository mentions the following compiler option, but they aren't mentioned in the article.:

  • win32manifest (The option is already documented, but just missing from this article.)
  • nowin32manifest
  • sourcelink (not documented at all) (It's also missing in the ordered alphabetically article)
  • errorlog (not documented at all)
  • reportanalyzer (not documented at all)
  • errorendlocation (not documented at all)
  • appconfig
  • moduleassemblyname

The categories listed in the article are different than roslyn docs. I don't know if that was intentional or not.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. BillWagner commented on Aug 14, 2020

    @BillWagner
    Member

    /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)

  2. jcouv commented on Aug 17, 2020

    @jcouv
    Contributor

    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.

  3. IEvangelist commented on Aug 17, 2020

    @IEvangelist
    Member

    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.

  4. BillWagner commented on Aug 17, 2020

    @BillWagner
    Member

    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.

  5. KalleOlaviNiemitalo commented on Jan 15, 2021

    @KalleOlaviNiemitalo

    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.

  6. self-assigned this
    on Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions