Skip to content

Commit

Permalink
always enable sql code analysis
Browse files Browse the repository at this point in the history
update template for Sql160

fixes #537
  • Loading branch information
ErikEJ committed Mar 19, 2024
1 parent b3e52ed commit 76c7b36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@
"type": "parameter",
"defaultValue": "Sql150",
"replaces": "#{SqlServerVersion}",
"choices": [ "Sql100", "Sql110", "Sql120", "Sql130", "Sql140", "Sql150", "Sql90", "SqlAzure", "SqlDw" ],
"description": "Version of SQL Server being targetted"
"choices": [ "Sql100", "Sql110", "Sql120", "Sql130", "Sql140", "Sql150", "Sql160", "Sql90", "SqlAzure", "SqlDw" ],
"description": "Version of SQL Server being targeted"
},
"codeAnalysis": {
"type": "parameter",
"defaultValue": "True",
"replaces": "#{CodeAnalysis}",
"choices": [ "True", "False" ],
"description": "Enable code analysis"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SqlServerVersion>#{SqlServerVersion}</SqlServerVersion>
<RunSqlCodeAnalysis>#{CodeAnalysis}</RunSqlCodeAnalysis>
<!-- For additional properties that can be set here, please refer to https://github.com/rr-wfm/MSBuild.Sdk.SqlProj#model-properties -->
</PropertyGroup>

Expand Down

0 comments on commit 76c7b36

Please sign in to comment.