Skip to content

Commit

Permalink
Always enable code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Oct 1, 2024
1 parent b692836 commit 90ae905
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/MSBuild.Sdk.SqlProj/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<MSBuildAllProjects Condition="'$(MSBuildToolsVersion)' != 'Current'">$(MSBuildAllProjects);$(MsBuildThisFileFullPath)</MSBuildAllProjects>
<SqlServerVersion>Sql150</SqlServerVersion>
<TargetExt>.dacpac</TargetExt>
<RunSqlCodeAnalysis Condition="'$(RunSqlCodeAnalysis)' == ''">True</RunSqlCodeAnalysis>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<SqlServerVersion>Sql150</SqlServerVersion>
<RunSqlCodeAnalysis>True</RunSqlCodeAnalysis>
<CodeAnalysisRules>-SqlServer.Rules.SRD0006;-Smells.*;+!SqlServer.Rules.SRN0002</CodeAnalysisRules>
</PropertyGroup>

Expand Down

0 comments on commit 90ae905

Please sign in to comment.