From 59b94e4b9230f9bcc60959ec330b67188786e619 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 17 Jul 2020 13:20:52 -0700 Subject: [PATCH] Ensure analyzer does not appear in build and publish outputs (#24072) Also make the analyzer actually work --- Directory.Build.props | 2 ++ eng/tools/RepoTasks/RepoTasks.csproj | 1 + .../src/Internal.AspNetCore.Analyzers.csproj | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 4b42f630ad..d138b781a7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -153,6 +153,8 @@ AND '$(MSBuildProjectExtension)' == '.csproj'"> diff --git a/eng/tools/RepoTasks/RepoTasks.csproj b/eng/tools/RepoTasks/RepoTasks.csproj index 9cfe1b2b2a..e71a1d7591 100644 --- a/eng/tools/RepoTasks/RepoTasks.csproj +++ b/eng/tools/RepoTasks/RepoTasks.csproj @@ -24,6 +24,7 @@ + diff --git a/src/Analyzers/Internal.AspNetCore.Analyzers/src/Internal.AspNetCore.Analyzers.csproj b/src/Analyzers/Internal.AspNetCore.Analyzers/src/Internal.AspNetCore.Analyzers.csproj index f4d42dc817..cf315eea41 100644 --- a/src/Analyzers/Internal.AspNetCore.Analyzers/src/Internal.AspNetCore.Analyzers.csproj +++ b/src/Analyzers/Internal.AspNetCore.Analyzers/src/Internal.AspNetCore.Analyzers.csproj @@ -8,7 +8,7 @@ analyzers/dotnet/cs/ false