microsoft / microsoft/DacFx

Visual Studio hangs when opening solution

Open
#587 6 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ssdt bug
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

- SqlPackage or DacFx Version: N/A
- .NET Framework (Windows-only) or .NET Core: 9.0.201
- Environment (local platform and source/target platforms): Windows x64

**Steps to Reproduce:**

1. clone my minimal repro https://github.com/gfody/SqlClrTest
2. open the solution, VS hangs forever on "Preparing Solution..."

![Image](https://github.com/user-attachments/assets/30672563-1575-4cfd-9465-d89254446800)

if I check the "Do not load projects" box and open the solution and then load all projects there is no hang.

I captured this log while it hung: [vs.log](https://github.com/user-attachments/files/19200066/vs.log)

copy info: [about.txt](https://github.com/user-attachments/files/19200065/about.txt)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the minimal repro at github.com/gfody/SqlClrTest and reviewing vs.log alongside about.txt. Compare normal solution loading with loading projects after selecting “Do not load projects.” Done means the solution opens without hanging on “Preparing Solution...” when all projects load.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.