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

Adding existing project causes VS 2022 to hang #425

Closed
jphellemons opened this issue Mar 12, 2024 · 2 comments
Closed

Adding existing project causes VS 2022 to hang #425

jphellemons opened this issue Mar 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jphellemons
Copy link

jphellemons commented Mar 12, 2024

  • SqlPackage or DacFx Version:
  • .NET Framework (Windows-only) or .NET Core: 8.0.200
  • Environment (local platform and source/target platforms): local

Steps to Reproduce:

  1. dotnet new -i Microsoft.Build.Sql.Templates
  2. dotnet new sqlproj -n ProductsTutorial
  3. create table (optional)
  4. Open VS 2022 Version 17.9.2
  5. Right click in solution
  6. Add existing project
  7. select sqlproj
  8. hang/wait

Did this occur in prior versions? If not - which version(s) did it work in?
idk, first time I am using the new sdk database project

@jphellemons jphellemons added the bug Something isn't working label Mar 12, 2024
@dzsquared
Copy link
Contributor

closing this as we have several items tracking the work for SSDT to support Microsoft.Build.Sql projects.

#180 (comment)

@RyanThomas73
Copy link

RyanThomas73 commented Mar 20, 2024

@jphellemons I encountered the problem you described and the following allowed me to work around it:

After your step 2 and before opening visual studio, perform a dotnet restore on the new .sqlproj from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants