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...)
Navigate to your project under the Visual Studio Projects folder. Right-click the project and select Delete. A delete confirmation appears. Click OK.
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With