Skip to content

Commit

Permalink
Update default SDK version to 0.2.5-preview (microsoft#26095)
Browse files Browse the repository at this point in the history
* Update README.md

* Update buildHelper.ts

* Update newSdkSqlProjectTemplate.xml
  • Loading branch information
zijchen authored Dec 10, 2024
1 parent 6b05b9d commit ba37d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/sql-database-projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.0-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.2.5-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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build">
<Sdk Name="Microsoft.Build.Sql" Version="0.2.0-preview" />
<Sdk Name="Microsoft.Build.Sql" Version="0.2.5-preview" />
<PropertyGroup>
<Name>@@PROJECT_NAME@@</Name>
<ProjectGuid>{@@PROJECT_GUID@@}</ProjectGuid>
Expand Down
2 changes: 1 addition & 1 deletion extensions/sql-database-projects/src/tools/buildHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class BuildHelper {

public async ensureDacFxDllsPresence(outputChannel: vscode.OutputChannel): Promise<boolean> {
const sdkName = 'Microsoft.Build.Sql';
const microsoftBuildSqlDefaultVersion = '0.2.0-preview'; // default version of Microsoft.Build.Sql nuget to use for building legacy style projects, update in README when updating this
const microsoftBuildSqlDefaultVersion = '0.2.5-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',
Expand Down

0 comments on commit ba37d16

Please sign in to comment.