From 90ae90562491025a5b8e0fc53d8e515cbd4e8d11 Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Tue, 1 Oct 2024 11:51:47 +0200 Subject: [PATCH] Always enable code analysis --- src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props | 1 + test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props b/src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props index 8426e615..b6d33cf8 100644 --- a/src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props +++ b/src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props @@ -10,6 +10,7 @@ $(MSBuildAllProjects);$(MsBuildThisFileFullPath) Sql150 .dacpac + True diff --git a/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj b/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj index 807e575f..a3b565f6 100644 --- a/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj +++ b/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj @@ -4,7 +4,6 @@ netstandard2.1 Sql150 - True -SqlServer.Rules.SRD0006;-Smells.*;+!SqlServer.Rules.SRN0002