From 9f552eab2a242194491be303d33bd0794fd2bd4b Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Tue, 17 Dec 2024 19:28:49 +0100 Subject: [PATCH 1/2] Update template and readme fixes #669 --- README.md | 24 ++++++++++++++----- src/DacpacTool/DacpacTool.csproj | 1 + .../templates/sqlproj/sqlproj.csproj | 10 ++++++-- .../TestProjectWithAnalyzers.csproj | 9 ++++--- 4 files changed, 33 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 90fa6dc9..4b456b0a 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,14 @@ You should now have a project file with the following contents: - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + @@ -587,10 +593,16 @@ We know of the following public rules NuGet packages, that you can add to your p > These rule sets were included with the SDK in version 2.7.x and 2.8.x, but must be added explicitly with SDK version 2.9.x and later. ```xml - - - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + ``` They are based on these older repositories: diff --git a/src/DacpacTool/DacpacTool.csproj b/src/DacpacTool/DacpacTool.csproj index 417c4980..4c7dc481 100644 --- a/src/DacpacTool/DacpacTool.csproj +++ b/src/DacpacTool/DacpacTool.csproj @@ -31,6 +31,7 @@ + diff --git a/src/MSBuild.Sdk.SqlProj.Templates/templates/sqlproj/sqlproj.csproj b/src/MSBuild.Sdk.SqlProj.Templates/templates/sqlproj/sqlproj.csproj index 125f2346..816779f7 100644 --- a/src/MSBuild.Sdk.SqlProj.Templates/templates/sqlproj/sqlproj.csproj +++ b/src/MSBuild.Sdk.SqlProj.Templates/templates/sqlproj/sqlproj.csproj @@ -9,8 +9,14 @@ - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj b/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj index 8f3d43d6..5de09112 100644 --- a/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj +++ b/test/TestProjectWithAnalyzers/TestProjectWithAnalyzers.csproj @@ -12,9 +12,12 @@ - - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + \ No newline at end of file From 202defe2958275ec43daefdd2f1391944b9d6a25 Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Tue, 17 Dec 2024 19:30:44 +0100 Subject: [PATCH 2/2] revert --- src/DacpacTool/DacpacTool.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/DacpacTool/DacpacTool.csproj b/src/DacpacTool/DacpacTool.csproj index 4c7dc481..417c4980 100644 --- a/src/DacpacTool/DacpacTool.csproj +++ b/src/DacpacTool/DacpacTool.csproj @@ -31,7 +31,6 @@ -