You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/sql-database-projects/howto/convert-original-sql-project.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "Create an SDK-style SQL project from an existing project."
4
4
author: dzsquared
5
5
ms.author: drskwier
6
6
ms.reviewer: maghan, randolphwest
7
-
ms.date: 06/27/2025
7
+
ms.date: 09/25/2025
8
8
ms.service: sql
9
9
ms.subservice: sql-database-projects
10
10
ms.topic: how-to
@@ -42,6 +42,9 @@ SDK-style projects aren't supported in SQL Server Data Tools (SSDT) in Visual St
42
42
- the SQL Database Projects extension in Azure Data Studio
43
43
- the SQL Server Data Tools, SDK-style (preview) in Visual Studio 2022
44
44
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
+
45
48
## Prerequisites
46
49
47
50
::: zone pivot="sq1-visual-studio"
@@ -224,7 +227,7 @@ The [project properties](../concepts/project-properties.md) reference lists the
224
227
225
228
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.
226
229
227
-
### Optional: Create a new solution file
230
+
### Option 1: Create a new solution file
228
231
229
232
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.
230
233
@@ -233,7 +236,7 @@ dotnet new sln --name MySolution
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:
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.
246
249
247
250
## Step 5: Build a `.dacpac` file from the modified project for comparison
0 commit comments