Skip to content

Commit 47dfac4

Browse files
authored
Merge pull request #20543 from dzsquared/drskwier-octoberrelease
info on openAPI and autorest
2 parents 3a2dedd + 58dad2e commit 47dfac4

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

docs/azure-data-studio/extensions/sql-database-project-extension.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ The SQL Database Projects extension (preview) is an Azure Data Studio and VS Cod
1818

1919
## Extension features
2020

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.
2223
- 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).
2324
- Edit project by adding or removing objects (tables, views, stored procedures) or custom scripts in the project.
2425
- Organize files/scripts in folders.
@@ -54,19 +55,27 @@ Watch this short 10-minute video for an introduction to the SQL Database Project
5455

5556
The SQL Database Projects extension is installed with the [mssql](/sql/tools/visual-studio-code/sql-server-develop-use-vscode) extension for VS Code.
5657

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
5959

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.
6162

6263
```dotnetcli
6364
dotnet --list-sdks
6465
```
6566

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+
6669
Unsupported .NET Core SDK versions may result in error messages such as:
6770
- `error MSB4018: The "SqlBuildTask" task failed unexpectedly.`
6871
- ` 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)
6972

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+
7079
## Known limitations
7180

7281
- 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

Comments
 (0)