My problem is following: I have huge C# project with 1591 disabled globally in the .csproj
file.
<NoWarn>$(NoWarn);1591</NoWarn>
However, I need to enable this warning in some files (some things MUST have xml comments).
I tried with #pragma warning restore 1591
at the top of the C# file, but it does not work. The warning is ignored.
Can I disable some C# compiler warning globally and enable it per file?
I don't want to enable this warning per entire project (6908 warnings).