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

SDK-style sqlproj is not integrated well with VS 2019 Solution Explorer #307

Closed
IVNSTN opened this issue Jul 31, 2023 · 3 comments
Closed
Labels
area: build sdk Related to Microsoft.Build.Sql SDK area: ssdt Related to the use of DacFx in Visual Studio (SSDT) enhancement New feature or request

Comments

@IVNSTN
Copy link

IVNSTN commented Jul 31, 2023

  • SqlPackage /Version: 162.0.52.1
  • .Net Framework Version: 4.8.03761
  • dotnet --version: 6.0.400
  • Environment:
    • Microsoft Visual Studio 2019 Community Edition 16.11.28
    • Microsoft.Build.Sql Version=0.1.10-preview (same on 0.1.9)
    • Windows7x64 in VirtualBox

Steps to Reproduce:

  1. Get existing SSDT-style sqlproj, remove all the <Build Include...
  2. Reload project in Visual Studio - Solution explorer shows only "References" and Folders without any file
  3. Add <Build Include="**\*.sql"/> to sqlproj
  4. Reload project in Visual Studio - Solution explorer now shows all files with respect to folder structure
  5. Open several .sql files, switch between editor tabs
  6. Solution explorer does not change focus position, file from currently active tab is not revealed in Solution Explorer

Thus there are several things:

  • as said in the readme for this SDK glob **\*.sql is respected but only during build, it has no effect in VS, you still need to include files manually into sqlproj at least with the same glob pattern
  • activating tab does not lead to focus position change to the active file in Solution Explorer which is very uncomfortable

Did this occur in prior versions? If not - which version(s) did it work in?

No working version found.

@IVNSTN IVNSTN added the bug Something isn't working label Jul 31, 2023
@zijchen zijchen added enhancement New feature or request area: build sdk Related to Microsoft.Build.Sql SDK area: ssdt Related to the use of DacFx in Visual Studio (SSDT) and removed bug Something isn't working labels Aug 2, 2023
@ErikEJ
Copy link
Contributor

ErikEJ commented Aug 6, 2023

@zijchen Are you palnning to support SDK style projects in VS 2019?

@CarlosOnline
Copy link

Please add support for Visual Studio.

@dzsquared
Copy link
Contributor

dzsquared commented Jun 7, 2024

Consolidating into #180 - we are working on the Visual Studio support for SDK-style SQL projects and will be posting early updates there

@dzsquared dzsquared closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build sdk Related to Microsoft.Build.Sql SDK area: ssdt Related to the use of DacFx in Visual Studio (SSDT) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants