StronglyTypedId
StronglyTypedId copied to clipboard
Generating documentation files errors out on CS1573
When generating documentation files via GenerateDocumentationFile for a project with strongly typed ids (and TreatWarningsAsErrors set to true) it errors out:
StronglyTypedIdDefaultsAttribute.g.cs(56,86): Error CS1573 : Parameter 'templateNames' has no matching param tag in the XML comment for 'StronglyTypedIdDefaultsAttribute.StronglyTypedIdDefaultsAttribute(string, params string[])' (but other parameters do)
See CS1573
Workaround:
Ignoring errors from just generated source outside of the generator is pretty complicated afaik, so the easiest option is to set <NoWarn>1573</NoWarn> in the csproj
Could this be disabled via pragma, similar to CS1591?