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/azure-data-studio/extensions/sql-database-project-extension.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,8 @@ The SQL Database Projects extension (preview) is an Azure Data Studio and VS Cod
18
18
19
19
## Extension features
20
20
21
-
- Create a new blank project or a project from a connected database.
21
+
- Create a new blank project.
22
+
- Create a new project from a connected database or from an [OpenAPI](https://github.com/OAI/OpenAPI-Specification) specification file.
22
23
- Open a Project previously created in [Azure Data Studio, VS Code](sql-database-project-extension-getting-started.md) or in [SQL Server Data Tools](../../ssdt/sql-server-data-tools.md).
23
24
- Edit project by adding or removing objects (tables, views, stored procedures) or custom scripts in the project.
24
25
- Organize files/scripts in folders.
@@ -54,19 +55,27 @@ Watch this short 10-minute video for an introduction to the SQL Database Project
54
55
55
56
The SQL Database Projects extension is installed with the [mssql](/sql/tools/visual-studio-code/sql-server-develop-use-vscode) extension for VS Code.
56
57
57
-
## .NET Core SDK
58
-
The .NET Core SDK is required for project build functionality and you will be prompted to install the .NET Core SDK if it cannot be detected by the extension. The .NET Core SDK (v3.1 or higher) can be downloaded and installed from [https://dotnet.microsoft.com/download/dotnet-core/3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1).
58
+
## Dependencies
59
59
60
-
Previous installations of the .NET Core SDK may be below the minimum required version and are unsupported for use with the SQL Database Projects extension. If you would like to [check currently installed versions](/dotnet/core/install/how-to-detect-installed-versions) of the dotnet SDK, open a terminal and run the following command.
60
+
### .NET Core SDK
61
+
The .NET Core SDK is required for project build functionality and you will be prompted to install the .NET Core SDK if it cannot be detected by the extension. The .NET Core SDK (v3.1.x) can be downloaded and installed from [https://dotnet.microsoft.com/download/dotnet-core/3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1). If you would like to [check currently installed versions](/dotnet/core/install/how-to-detect-installed-versions) of the dotnet SDK, open a terminal and run the following command.
61
62
62
63
```dotnetcli
63
64
dotnet --list-sdks
64
65
```
65
66
67
+
To force the SQL Database Projects extension to use the v3.1.x version of the .NET Core SDK when multiple versions are installed, add a [package.json](/dotnet/core/tools/global-json?tabs=netcore3x) file to a containing folder for the SQL project.
68
+
66
69
Unsupported .NET Core SDK versions may result in error messages such as:
67
70
-`error MSB4018: The "SqlBuildTask" task failed unexpectedly.`
68
71
-` error MSB4018: System.TypeInitializationException: The type initializer for 'SqlSchemaModelStaticState' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [c:\Users\ .sqlproj]_` (where the linked non-existing file has an unmatched closing square bracket)
69
72
73
+
74
+
### AutoRest.Sql
75
+
76
+
The SQL extension for [AutoRest](https://github.com/Azure/autorest) is automatically downloaded and used by the SQL Database Projects extension when a SQL project is generated from an OpenAPI specification file.
77
+
78
+
70
79
## Known limitations
71
80
72
81
- Loading files as link is not supported in Azure Data Studio view today, however the files will be loaded at the top level in tree and build will incorporate these files as expected.
0 commit comments