Skip to content

Example please! #17370

Closed
Closed

Description

@noman9607

A short code example (hello world?) with a comment block like
#region "class summary"
/// <summary>
/// This class does something.
/// fields?
/// static
/// properties?
/// members?
/// </summary>
Now give the whole csc command line to make it work. I can't get this doc to work using the csc command and I find the instructions cryptic-they make sense only if you already know how to use it. Pretend you have the helloworld.cs file with the comment block above at the top. Now what is the comman line to get the xml doc file?
thanks.


Document Details

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

Activity

  1. MSDN-WhiteKnight commented on Mar 7, 2020

    @MSDN-WhiteKnight
    Contributor

    There are examples of csc command line in this article: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/command-line-building-with-csc-exe

    You can just append -doc to the end of these examples and it should work

  2. BillWagner commented on Mar 9, 2020

    @BillWagner
    Member

    There are a couple different changes that should happen here.

    First, instead of csc, this should show how to use dotnet build to create documentation.

    Second, it should link to this article which does show the example discussed above.

    I'll add the "up for grabs" label based on a clear fix for what should happen here.

  3. added
    help wanted
    and removed
    ⌚ Not Triaged
    on Mar 9, 2020
  4. added
    won't fix
    on Jan 25, 2021
  5. dotnet-bot commented on Jan 25, 2021

    @dotnet-bot
    Contributor

    This issue has been closed as part of the issue backlog grooming process outlined in #22351.

    That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.

  6. removed
    won't fix
    on Mar 11, 2021
  7. 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

dotnet-csharp/svcerrors-warnings/subsvchelp wantedlang-reference/subsvc

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions