microsoft / microsoft/vscode-dotnettools

[BUG] Adding Files/Folder to "path" is not supported because it is outside the Workspace

Open
#879 7 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-solution bug
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

Describe the Issue

When i add a csproj that exist ouside the workscape on vscode and y try to add one file or folder, i see this message

Steps To Reproduce
  1. Create 2 different solution projects
    image
  2. Load MainProject
    image
  3. I add LibraryProject by existing project
    image
    image
  4. When i need to add one class or folder i see this message
    image
Expected Behavior

I suppose the correct way is create the file or folder regardless of project location

Environment Information
  • OS: Windows
  • VsCode Version: 1.85.2
  • C# Dev Kit version: 1.3.6 Pre-Release

Contributor guide

No contributing guide indexed for this repository

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 reproducing the existing-project workflow in VS Code with the C# Dev Kit: load MainProject, add LibraryProject from outside the workspace, then try to add a class or folder. Trace where the workspace-boundary message is produced and verify that the completed behavior permits the requested file or folder operation for the external project.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.