How to suppress a single warning e.g. CS1591 for all files in a single folder?
e.g I only wont suppress all warnings in folder Areas not in the full project.
I have tried:
<code><ItemGroup>
<None Update="AreasIdentityPagesAccount*.cs">
<NoWarn>CS1591</NoWarn>
</None>
</ItemGroup>
</code>
<code><ItemGroup>
<None Update="AreasIdentityPagesAccount*.cs">
<NoWarn>CS1591</NoWarn>
</None>
</ItemGroup>
</code>
<ItemGroup>
<None Update="AreasIdentityPagesAccount*.cs">
<NoWarn>CS1591</NoWarn>
</None>
</ItemGroup>
But it is not working? Are there any solutions.
And i dont wont edit all files in Area with
<code>#pragma warning disable 1591
..
#pragma warning restore 1591
</code>
<code>#pragma warning disable 1591
..
#pragma warning restore 1591
</code>
#pragma warning disable 1591
..
#pragma warning restore 1591
New contributor
Christopher E is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.