Export (0) Print
Expand All
6 out of 14 rated this helpful - Rate this topic

How to: Delete or Remove a Project

You can delete projects permanently, remove them from a solution but keep them, or unload projects from a solution temporarily. The procedure for taking projects out of solutions or deleting projects permanently is simple. However, the project type determines the outcome for your project and the items that it comprises. Removing, deleting, and unloading projects involve different degrees of disassociation from the solution.

You might need to remove, delete, or unload a project from a solution under the following kinds of circumstances.

  • You must move a project from one solution to another solution.

  • You must permanently delete an obsolete project.

    Important noteImportant

    You can't delete the files of a project by using Visual Studio. You can delete all references to a project from a solution by using Visual Studio, but you must use File Explorer to delete the associated files from your computer.

  • You must temporarily remove a project from a solution so that you can exclude the project from a build.

As with other commands, the actual outcome depends on the project template that you used to create the project. You can look in Help for more information about the specific project template that you've used.

You can remove a project from a solution without erasing the project files from storage.

To remove a project

  1. In Solution Explorer, choose the project that you want to remove.

  2. On the menu bar, choose Edit, Remove.

You can add the project to the solution again or add it to other solutions because the project still exists in storage.

You can delete a project permanently but not by using Visual Studio. You must remove any references to the project that you want to delete from solutions in Visual Studio, and then you must use File Explorer to delete the associated files from storage permanently.

To permanently delete a project

  1. In Solution Explorer, choose the project that you want to delete from the solution.

    Important noteImportant

    You should close and delete web projects by using File Explorer.

  2. On the menu bar, choose Edit, Remove.

  3. In File Explorer, choose the files that are associated with the project that you want to delete.

  4. On the menu bar, choose File, Delete.

In some cases, you might want to unload the project from the solution temporarily.

To temporarily unload a project from a solution

  1. In Solution Explorer, choose the project that you want to unload.

  2. On the menu bar, choose Project, Unload Project.

    NoteNote

    You can reload the project at any time by, on the menu bar, choosing Project, Reload.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.