microsoft / microsoft/vscode-dotnettools

How to unload a project

Open
#431 9 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the Issue

In my solution, I have a older dotNET(4.7) class library. So In solution explorer it is showing

The project is not supported in C# Dev Kit.

This is absolutely fine, but how can I unload this class library project so that it will be ignored during build like we do in Visual Studio 2022.

Steps To Reproduce

No response

Expected Behavior

Right click on the project should show Unload Project option.

Environment Information
  • Mac OS
  • C# Dev Kit - v0.4.6

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 issue in VS Code on macOS with C# Dev Kit v0.4.6 and an older .NET 4.7 class library in a solution. Trace how Solution Explorer project actions and solution builds are handled; done means a project context menu offers Unload Project and the unloaded project is ignored during builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.