Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete a test project in visual studio? [closed]

Lately I had a problem (Could not load type '...' from assembly '...') with my test project (unit-test in Visual Studio 2010), so I tried (after looking for solutions here) deleting it and rewriting it. I deleted it by right-clicking on the project in Solution Explorer and choosing 'Remove'. Nevertheless, I can see that the project still exists, if I am looking in the folders (of the entire solution), through windows...

How can I correctly and completely delete the test project? (I have made a backup...)

like image 285
Lee Avatar asked Feb 28 '13 13:02

Lee


People also ask

How do I completely delete a Visual Studio project?

Navigate to your project under the Visual Studio Projects folder. Right-click the project and select Delete. A delete confirmation appears. Click OK.

What is the easiest way to delete a project?

In the project list, select the project that you want to delete, and then click Delete. In the dialog, type the project ID, and then click Shut down to delete the project.

How do you clear a project?

To delete a project, first load the project in the source editor by choosing the project from the file manager tree. Click on the File menu on the Editor tab above the source editor. In the File menu, select Delete Project.

How do I uninstall project VS code?

you should go to the folder that project is inside that, you can do that with right click on the name of project in toolbar VS Code and select the Reveal the explorer and go directly to the root of the project. then you can delete the project.


2 Answers

Removing it from the project structure just modifies the solution file (.sln). After removing a project it's not anymore listed in there and the reference is gone.

So removing a project from the solution just removes the reference to the project. If you'd like to remove it entirely, delete it manually from its old location on the disk, as well.

like image 172
Michael Schnerring Avatar answered Sep 19 '22 14:09

Michael Schnerring


You almost do the right thing... You have to "Remove" from the Solution, by right clicking and "Remove" the project. This action will change the Solution (.sln) file, removing the reference to the project, but the folders will remain in the disk. Then you have to delete it from the disk manually.

like image 23
Agustin Meriles Avatar answered Sep 21 '22 14:09

Agustin Meriles