From 40e501fe3286ed82596d7f5b3e52b19d452026dc Mon Sep 17 00:00:00 2001 From: Kim Santiago <31145923+kisantia@users.noreply.github.com> Date: Mon, 28 Aug 2023 18:44:15 -0700 Subject: [PATCH] update Microsoft.Build.Sql SDK version used to build legacy sql projects to 0.1.12-preview (#24236) --- extensions/sql-database-projects/README.md | 2 +- extensions/sql-database-projects/src/tools/buildHelper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/sql-database-projects/README.md b/extensions/sql-database-projects/README.md index 5d3c22f738..a416e32bb2 100644 --- a/extensions/sql-database-projects/README.md +++ b/extensions/sql-database-projects/README.md @@ -35,7 +35,7 @@ Learn more about the SQL Database Projects extension in the documentation: https ### General Settings - `sqlDatabaseProjects.dotnetSDK Location`: The path to the folder containing the `dotnet` folder for the .NET SDK. If not set, the extension will attempt to find the .NET SDK on the system. -- `sqlDatabaseProjects.microsoftBuildSqlVersion`: Version of Microsoft.Build.Sql binaries used when building SQL projects that are not SDK-style SQL projects. If not set, the extension will use Microsoft.Build.Sql 0.1.10-preview. +- `sqlDatabaseProjects.microsoftBuildSqlVersion`: Version of Microsoft.Build.Sql binaries used when building SQL projects that are not SDK-style SQL projects. If not set, the extension will use Microsoft.Build.Sql 0.1.12-preview. - `sqlDatabaseProjects.netCoreDoNotAsk`: When true, no longer prompts to install .NET SDK when a supported installation is not found. - `sqlDatabaseProjects.collapseProjectNodes`: Option to set the default state of the project nodes in the database projects view to collapsed. If not set, the extension will default to expanded. diff --git a/extensions/sql-database-projects/src/tools/buildHelper.ts b/extensions/sql-database-projects/src/tools/buildHelper.ts index b2998f375a..2ac568a003 100644 --- a/extensions/sql-database-projects/src/tools/buildHelper.ts +++ b/extensions/sql-database-projects/src/tools/buildHelper.ts @@ -56,7 +56,7 @@ export class BuildHelper { public async ensureDacFxDllsPresence(outputChannel: vscode.OutputChannel): Promise { const sdkName = 'Microsoft.Build.Sql'; - const microsoftBuildSqlDefaultVersion = '0.1.10-preview'; // default version of Microsoft.Build.Sql nuget to use for building legacy style projects, update in README when updating this + const microsoftBuildSqlDefaultVersion = '0.1.12-preview'; // default version of Microsoft.Build.Sql nuget to use for building legacy style projects, update in README when updating this const dacFxBuildFiles: string[] = [ 'Microsoft.Data.SqlClient.dll',