You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have TreatWarnigsAsErrors set to true in my project file, so that I can guard against as many issues as possible.
As such I get the following, potentially 100s of times, depending on framework selection (multiple) and requested native methods.
Error CS8981: The type name 'winmdroot' only contains lower-cased ascii characters. Such names may become reserved for the language. (18, 9)
I wish we could suppress all such future warnings. We already effectively turn off stylecop by indicating that this is generated code, but the C# compiler warnings aren't always as accommodating to that. We'll have to suppress or fix these new warnings as they come up. Thanks for reporting.
Is your feature request related to a problem? Please describe.
I have TreatWarnigsAsErrors set to true in my project file, so that I can guard against as many issues as possible.
As such I get the following, potentially 100s of times, depending on framework selection (multiple) and requested native methods.
Error CS8981: The type name 'winmdroot' only contains lower-cased ascii characters. Such names may become reserved for the language. (18, 9)
See here for further details Compiler Warning Waves
Identifying which issues are created in my code as opposed to the generated code becomes difficult when there are so many of them.
Describe the solution you'd like
I would prefer if the generated code does not fall foul of this (and, if possible), any other new compiler warnings.
Describe alternatives you've considered
Using $(NoWarn);CS8981 does suppress this issue temporarily, but does mean that I cannot spot my own issues.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: