From 1a6a76162806e6278d86299121e7fefceb40f9ac Mon Sep 17 00:00:00 2001 From: Robert McLaws <1657085+robertmclaws@users.noreply.github.com> Date: Sun, 15 Sep 2024 13:31:40 -0400 Subject: [PATCH 1/2] Update Project Template - Adjust Project Sdk definition syntax to match how other SDK-style projects are structured, to reduce end-user confusion. - Add a PreBuild target that corrects a build-time bug in Visual Studio that triggers an unnecessary NuGet restore failure. --- .../sqlproject/SqlProject1.sqlproj | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/Microsoft.Build.Sql.Templates/sqlproject/SqlProject1.sqlproj b/src/Microsoft.Build.Sql.Templates/sqlproject/SqlProject1.sqlproj index bd6d3b8..3c8f6d3 100644 --- a/src/Microsoft.Build.Sql.Templates/sqlproject/SqlProject1.sqlproj +++ b/src/Microsoft.Build.Sql.Templates/sqlproject/SqlProject1.sqlproj @@ -1,9 +1,15 @@ - - - - - SqlProject1 - Microsoft.Data.Tools.Schema.Sql.{TargetPlatform}DatabaseSchemaProvider - 1033, CI - - \ No newline at end of file + + + + SqlProject1 + Microsoft.Data.Tools.Schema.Sql.{TargetPlatform}DatabaseSchemaProvider + 1033, CI + + +