Skip to content

Commit

Permalink
Treat warning not as error for CS8785 (#3301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Jun 3, 2023
1 parent b7b2f0e commit 43fc40e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Workaround for MSB3271 error on processor architecture mismatch -->
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<!-- Disable warning for CS1591 for cswinrt auto-generated files -->
<NoWarn>1591</NoWarn>
<!-- Disable warning CS1591 for cswinrt auto-generated files and CS8785 for SourceGenerator compilation errors -->
<NoWarn>1591,8785</NoWarn>
<Configurations>Debug;Release;ReleaseStatic</Configurations>
</PropertyGroup>

Expand Down

0 comments on commit 43fc40e

Please sign in to comment.