-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vscode support for System database package references for SDK-style sql projects #23383
Conversation
@@ -1112,7 +1113,7 @@ declare module 'vscode-mssql' { | |||
packageFilePath: string; | |||
databaseName: string; | |||
upgradeExisting: boolean; | |||
sqlCommandVariableValues?: Map<string, string>; | |||
sqlCommandVariableValues?: Record<string, string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied over the state of the file in main in the vscode-mssql repo so that they're synced up, so there are a few changes like this one made in microsoft/vscode-mssql#17683, that hadn't made over to the ADS copy of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this!
extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts
Show resolved
Hide resolved
extensions/sql-database-projects/src/dialogs/addDatabaseReferenceQuickpick.ts
Outdated
Show resolved
Hide resolved
@@ -1112,7 +1113,7 @@ declare module 'vscode-mssql' { | |||
packageFilePath: string; | |||
databaseName: string; | |||
upgradeExisting: boolean; | |||
sqlCommandVariableValues?: Map<string, string>; | |||
sqlCommandVariableValues?: Record<string, string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this!
…le sql projects (#23383) * changes for supporting system db package references in vscode * cleanup * address comments
This adds support for system database package references for SDK-style projects in the sql projects vscode extension, now that the system database nuget packages are available:
New quickpick step to choose between
PackageReference
andArtifactReference
. This only shows up for SDK-style projects, not legacy projects.Adding a system db ref as a PackageReference, followed by adding one as an ArtifactReference:
https://github.com/microsoft/azuredatastudio/assets/31145923/194cf0db-b46d-4a43-82e5-f45d1cba0a5b