提交 1fb90432 编写于 作者: J Jared Parsons

Disable analyzers on developer builds

A recent change to enable analyzers caused a 3-6X build slow down.
Disabling them locally at least until we can track this down.

https://github.com/dotnet/roslyn/issues/21041
上级 deaf3e79
......@@ -24,7 +24,10 @@
Otherwise, it writes to the same file (GeneratedAssemblyInfoFile) as our GenerateAssemblyInfoFile target.
Follow-up issue to reconcile the two: https://github.com/dotnet/roslyn/issues/19645 -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseRoslynAnalyzers Condition="'$(UseRoslynAnalyzers)' == ''">true</UseRoslynAnalyzers>
<!-- Disabling on developer builds until perf issue figured out
https://github.com/dotnet/roslyn/issues/21041 -->
<UseRoslynAnalyzers Condition="'$(UseRoslynAnalyzers)' == '' AND '$(DeveloperBuild)' != 'true'">true</UseRoslynAnalyzers>
<BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$(RepoRoot)Binaries\</BaseOutputPath>
<OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(RepoRoot)Binaries\Obj\</BaseIntermediateOutputPath>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册