Skip to content

Commit 2466df3

Browse files
committed
Code analysis is triggering IDE errors in VS 2022 with .NET 9 for the WebAssembly project. Disabling (temporarily, hopefully) except for GitHub Action builds.
1 parent ec4c825 commit 2466df3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WebAssembly/WebAssembly.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2828
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2929
<DebugType>embedded</DebugType>
30+
<!--
31+
Starting in .NET 9, this causes a huge amount of IDE errors in Visual Studio for some reason.
3032
<AnalysisMode>Minimum</AnalysisMode>
33+
-->
3134
</PropertyGroup>
3235

3336
<ItemGroup>
@@ -41,6 +44,8 @@
4144

4245
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
4346
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
47+
<!-- Even though this is broken in .NET 9 + VS 2022 for this project, it builds fine so we should still run it. -->
48+
<AnalysisMode>Minimum</AnalysisMode>
4449
</PropertyGroup>
4550

4651
</Project>

0 commit comments

Comments
 (0)