microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
227 stars 12 forks source link

How to unload a project #431

Open TanvirArjel opened 1 year ago

TanvirArjel commented 1 year ago

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

lifengl commented 1 year ago

C# Dev Kit doesn't build solution like Visual Studio does. It basically runs CLI command dotnet build, which is independent to the solution explorer view, so unloading the project is not very meaningful in this context.

ADIX7 commented 3 months ago

It is actually. I frequently unload test project(s) when I work with something in the main project(s) that has a lot of reference in the test project(s). So basically first I understand/refactor the program code and after that I reload the test project(s) / fix them.

SHiLLySiT commented 2 months ago

+1 for adding support to unload projects.

I recently got put on a very large Unity project that has 134 projects in the solution. Loading this project in VS Code requires 10-12 gigs of RAM, which I don't have to spare.

I've had to switch to regular VS since it supports loading specific projects 😢

ajay-mundi commented 2 months ago

+1 yes this would be very useful for me

huzaifacontour commented 2 months ago

+1 really need this

ArtemVolsh commented 1 month ago

+1 here

Rajan-Aggarwal commented 4 weeks ago

This would be very useful to me as well. Besides, the entire point of VSCode is to be able to use a software that's less heavy that Visual Studio. Loading every project would defeat that purpose.