未验证 提交 8a09ed76 编写于 作者: J Jan Kotas 提交者: GitHub

Disable Aot and Trim analyzers when building runtime tests (#88209)

When targeting native AOT, these analyzers are producing warnings that are treated as errors
上级 3296baab
......@@ -94,11 +94,6 @@
<MonoBinDir>$(__MonoBinDir)</MonoBinDir>
</PropertyGroup>
<!-- Language settings -->
<PropertyGroup>
<RunAnalyzers>false</RunAnalyzers>
</PropertyGroup>
<!-- Setup Default symbol and optimization for Configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<Optimize Condition="'$(Optimize)' == ''">false</Optimize>
......@@ -129,6 +124,8 @@
<!-- Disable some C# warnings for the tests. -->
<NoWarn>78,162,164,168,169,219,251,252,414,429,618,642,649,652,659,675,1691,1717,1718,3001,3002,3003,3005,3008,8981</NoWarn>
<RunAnalyzers>false</RunAnalyzers>
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
<EnableAotAnalyzer>false</EnableAotAnalyzer>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<SkipSigning Condition="'$(CrossGen)' == 'true'">true</SkipSigning>
<AssemblyKey>Test</AssemblyKey>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册