Visual Studio 2026 removes DefaultStartup every time I add a project to the solution
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- developer-experience
Research direction
Reproduce the issue with an .slnx solution in Visual Studio 2026 by setting DefaultStartup="true" on a project and then adding another project. Trace the solution update path and verify that adding a project preserves the existing DefaultStartup setting.
Written by the indexing model from the issue text.
Description
I have an slnx solution file. Whenever I add a project to the solution in Visual Studio 2026, it removes the DefaultStartup="true" that I have set for one of the projects.
- Dominant language
- C#
- Stars
- 213
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vs-solutionpersistence
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/vs-solutionpersistence#73 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Name validation is stricter than VS and MSBuildMay be free again @richardstanton claimed this 125 days ago, and no pull request is open. Open
microsoft/vs-solutionpersistence#151 · 1 assignee ·
All issues in microsoft/vs-solutionpersistence
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
owasp-dep-scan/dosai#79 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
pyrevitlabs/pyRevit#3730 ·
Maintainers usually reply within 1 day
-
bug component/other
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
umbraco/Umbraco.AI#511 ·
Maintainers usually reply within 1 day
-
sev:L
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Systemorph/MeshWeaver#6233 ·
Maintainers usually reply within 1 day
-
[Bug]:Openbug needs response
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Adyen/adyen-dotnet-api-library#1874 ·
Maintainers usually reply within 1 day