microsoft / microsoft/vscode-dotnettools
[WebToolsE2E][Green][v9.9] Unable to add project reference with error "There are no other projects in the solution to add a reference to"
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
Describe the issue
REGRESSION INFO: Works well C# DevKit Prerelease 7 Version 3.27.196(C#2.146.2)
INSTALL STEPS
OS: windows x64/MAC
- Install the SDK 10.0.302
- Install VS Code insiders - 1.131.0
- Install internal main C#devkit 9.9.201(C# 2.164.2)
REPRO STEPS
- Open vs code > Create .NET Project > Console App, then build the project
- Ctrl+Shift+P > Create .NET Project > Class Library
- Right Click Class Library project > Add Project Reference > Choose Console project
Note:
- It works well when close folder, and then re-open this project folder.
- It works well on the latest internal prerelease C# Devkit 3.27.222(prerelease branch), but could repro on the latest internal C# Devkit 9.9.207(Main branch)
- It works well with command line
ACTUAL
Unable to add project reference
EXPECTED Reference should be added successfully
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Reproduce the Add Project Reference flow in VS Code Insiders with C# Dev Kit 9.9.201, comparing it with reopening the folder and using the command line. Start from the Add Project Reference command for a Class Library and verify that the Console project is detected; done means the reference is added without reopening the folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100