dotnet / buildtools

Build tools that are necessary for building the .NET Core projects
477 stars 240 forks source link

Generated documentation. Hypen in param name comment results into invalid value in xml. #2275

Closed rmrfhome closed 3 years ago

rmrfhome commented 4 years ago

Hello!

The project to reproduce is in attachement. DocGenIssue.zip

Documentation generation is on in .csproj file: <DocumentationFile>doc.xml</DocumentationFile>

In .cs file there is a comment: ///<param name="x-y"/>

To reproduce run dotnet build command

Expected in doc.xml: <param name="x-y"/>

Actual: <param name="x-y-y"/>

Framework version: .net core 3.1

ViktorHofer commented 3 years ago

// Auto-generated message

Going forward, the .NET team is using https://github.com/dotnet/arcade to develop the code and issues formerly in this repository. Feel free to reopen/move this issue if it still applies to servicing branches in this repository, or source code which now resides in the Arcade repository.