Skip to content
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

[Port to release/1.50] Fix target platform when creating project from database via quickpick #26054

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

zijchen
Copy link
Member

@zijchen zijchen commented Nov 13, 2024

Fixes #26052

Porting #26049 and #26053

When creating a project from database via VS Code quickpick, the connection data is never passed to the controller, so it always defaulted to 160/Sql2022 target platform in the sqlproj. There used to be an option to create project from right clicking on a database in mssql, but it was removed at some point, making quickpick the only option. This PR fixes the code path via quickpick by passing the create project function as a callback.

@kburtram
Copy link
Member

@zijchen could you please resolve the merge conflict for this PR? Thanks!

@zijchen
Copy link
Member Author

zijchen commented Nov 13, 2024

@kburtram it should be resolved now

@kburtram kburtram merged commit 47e22a5 into main Nov 13, 2024
2 checks passed
@kburtram kburtram deleted the zijchen/port-1.50 branch November 13, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VS Code: Create project from database always uses SQL 2022 as target platform
3 participants