how do i delete a project stored in the repos folder in visual studio

Ken Seaton 20 Reputation points
2025-10-11T23:21:39.3133333+00:00

i want to create a new project but it wants to call its name the same as one i had already had. So i need to delete the existing one

trying to do the in explrer and cmd.exe both refuse even when i am admin

Windows development | Windows API - Win32
{count} votes

Answer accepted by question author
  1. Viorel 124.9K Reputation points
    2025-10-12T18:55:15.3133333+00:00

    I think you could create the new project in any accessible folder you want.

    To delete the existing folder (usually located in “C:\Users<USER>\source\repos” ), you might need to close Visual Studio and other windows or applications that could prevent deletion.

    But if it is a Git Repository, then the approach is probably different.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.