Closed View12138 closed 8 months ago
Describe the bug When the documentation file generation feature was enabled (<GenerateDocumentationFile>True</GenerateDocumentationFile>) on the project, the generated code caused the compiler to report a warning Compiler Warning (level 4) CS1591
<GenerateDocumentationFile>True</GenerateDocumentationFile>
To Reproduce
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <GenerateDocumentationFile>True</GenerateDocumentationFile> </PropertyGroup> </Project >
Screenshots
Environment info
Unfortunately this is a known issue with generated code. The fix is to suppress the error for generated files in your .editorconfig like this:
.editorconfig
[*.g.cs] dotnet_diagnostic.CS1591.severity = none
Related to https://github.com/CollinAlpert/Lombok.NET/issues/24.
Describe the bug When the documentation file generation feature was enabled (
<GenerateDocumentationFile>True</GenerateDocumentationFile>
) on the project, the generated code caused the compiler to report a warning Compiler Warning (level 4) CS1591To Reproduce
Screenshots
Environment info