这是indexloc提供的服务,不要输入任何密码
Skip to content

Project created using dotnet new trydotnet-tutorial has compiler warnings #250

@jonsequitur

Description

@jonsequitur

Describe the bug

A new tutorial project has warnings when run.

Repro steps:

  1. Create a project using dotnet new trydotnet-tutorial.
  2. Run it using dotnet run.
> dotnet run
Program.cs(6,21): warning CS1572: XML comment has a param tag for 'region', but there is no parameter by that name [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(7,21): warning CS1572: XML comment has a param tag for 'session', but there is no parameter by that name [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(8,21): warning CS1572: XML comment has a param tag for 'package', but there is no parameter by that name [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(9,21): warning CS1572: XML comment has a param tag for 'project', but there is no parameter by that name [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(10,21): warning CS1572: XML comment has a param tag for 'args', but there is no parameter by that name [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(28,27): warning CS1591: Missing XML comment for publicly visible type or member 'Program.HelloWorld()' [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(36,27): warning CS1591: Missing XML comment for publicly visible type or member 'Program.DateTime()' [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]
Program.cs(44,27): warning CS1591: Missing XML comment for publicly visible type or member 'Program.EmptyRegion()' [C:\temp\trydotnet-template-test\trydotnet-template-test.csproj]

Did this error occur while using dotnet try or online?

  • dotnet-try
  • online

What kind of error was it?

  • User Interface (UI): For example the output never displayed
  • Service Error: For example "The service is temporarily unavailable. We are working on it"
  • Other: dotnet new trydotnet-tutorial

Screenshots

If applicable, add screenshots to help explain your problem.

Please complete the following:

  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Safari

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions