Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 4b843e7

Browse files
authored
Merge pull request #35428 from dzsquared/drskwier/sqlproj-sept2025
clarifications
1 parent 720c30e commit 4b843e7

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

docs/tools/sql-database-projects/howto/convert-original-sql-project.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Create an SDK-style SQL project from an existing project."
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan, randolphwest
7-
ms.date: 06/27/2025
7+
ms.date: 09/25/2025
88
ms.service: sql
99
ms.subservice: sql-database-projects
1010
ms.topic: how-to
@@ -42,6 +42,9 @@ SDK-style projects aren't supported in SQL Server Data Tools (SSDT) in Visual St
4242
- the SQL Database Projects extension in Azure Data Studio
4343
- the SQL Server Data Tools, SDK-style (preview) in Visual Studio 2022
4444

45+
> [!NOTE]
46+
> You might find that your SQL project contains customization that extends the changes required beyond these steps. In addition to this article, the [DacFx GitHub repository](https://github.com/microsoft/dacfx) can be used to understand the changes necessary to upgrade from an original SQL project to SDK-style SQL projects.
47+
4548
## Prerequisites
4649

4750
::: zone pivot="sq1-visual-studio"
@@ -224,7 +227,7 @@ The [project properties](../concepts/project-properties.md) reference lists the
224227

225228
Your project file might be referenced in a solution file (`.sln`). If you have a solution file, you should update it to reference the new SDK-style project file. If you do not have a solution file, you can skip this section and proceed to Step 5.
226229

227-
### Optional: Create a new solution file
230+
### Option 1: Create a new solution file
228231

229232
For a solution file that only contains the SQL project, it is more straightforward to remove the solution file and create a new solution file with the SDK-style project.
230233

@@ -233,7 +236,7 @@ dotnet new sln --name MySolution
233236
dotnet sln MySolution.sln add MyDatabaseProject\MyDatabaseProject.sqlproj
234237
```
235238

236-
### Optional: Edit the solution file
239+
### Option 2: Edit the solution file
237240

238241
When a solution file contains multiple projects, you should update the solution file to reference the new SDK-style project file. You can edit the solution file in a text editor and change the project reference to the new SDK-style project file. The project reference in the solution file should look like this:
239242

@@ -242,7 +245,7 @@ Project("{PROJECT_TYPE_GUID}") = "MyDatabaseProject", "MyDatabaseProject\MyDatab
242245
EndProject
243246
```
244247

245-
The `PROJECT_TYPE_GUID` value for a Microsoft.Build.Sql project is `42EA0DBD-9CF1-443E-919E-BE9C484E4577`, and the `PROJECT_GUID` is a unique identifier for the project found in the project file `<ProjectGuid>` element. The `PROJECT_GUID` value is not required to be changed and can remain the same as in the original project file. The `PROJECT_TYPE_GUID` value is required to be changed to the Microsoft.Build.Sql project type GUID.
248+
The `PROJECT_TYPE_GUID` value for a Microsoft.Build.Sql project is `42EA0DBD-9CF1-443E-919E-BE9C484E4577`, and the `PROJECT_GUID` is a unique identifier for the project found in the project file `<ProjectGuid>` element. If you have a solution file with your project, the `PROJECT_GUID` value is not required to be changed and can remain the same as in the original project file. The `PROJECT_TYPE_GUID` value is required to be changed to the Microsoft.Build.Sql project type GUID.
246249

247250
## Step 5: Build a `.dacpac` file from the modified project for comparison
248251

0 commit comments

Comments
 (0)