Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Fernandez Madero <safern@microsoft.com>2020-08-15 03:13:44 +0300
committerGitHub <noreply@github.com>2020-08-15 03:13:44 +0300
commit732ea740a112eb52e82bc190f1a25451850c7488 (patch)
tree1d09d66da69ed7f735e3eb9fad86a4606dfd97e0 /Directory.Build.targets
parent12f46e41eb01ba2c6601bf8222931e8c1a3e17c3 (diff)
Update analyzers and various fixes to be able to build with latest RC1 SDK (#40796)
* Disable net analyzers from the SDK and use them from package reference instead * Fix build with new SDK and bump net analyzer version * PR Feedback
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets2
1 files changed, 2 insertions, 0 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index f16e04d9b4e..e4c7e1d21a5 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -6,6 +6,8 @@
tell Microsoft.Common.targets not to import Directory.Build.targets again
-->
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
+
+ <EnableNETAnalyzers Condition="'$(EnableAnalyzers)' != 'true'">false</EnableNETAnalyzers>
</PropertyGroup>
<Import Project="$(RepositoryEngineeringDir)liveBuilds.targets" />