How to clear project folder location history in Visual Studio Community 2019

Marcus Dudlee 1 Reputation point
2021-05-20T14:13:11.573+00:00

When starting a new project in Visual Studio 2019 Community. Once you select the type of project, you get asked to name it and select the file location for it. In the file location text box is a history pull down, in there is a network location that no longer exists. It is causing VS to hang up for ages at that point, and also at other stages when dealing with files and file browsers. How do I get rid of it? There's no option to clear the history, there's nothing in the registry (I've searched), I can't find any options to clear history anywhere. I downloaded a plugin called "ClearRecent" which I hoped would solve it, but it didn't clear it.

Please, this is surely something that someone else has encountered too?

EDIT: It'd be nice to stop it from ever recording history again too. I mean, I know where my work folders are, I don't need help there.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,431 Reputation points Microsoft Vendor
    2021-05-21T07:30:13.01+00:00

    Hi @Marcus Dudlee ,

    Welcome to Microsoft Q&A forum.

    As far as I am concerned, there is no option to clear the history of the “project location list”.

    The list often includes three records(<=3) and one is default project location. You mentioned there is a network location, have you used this network location, or you have set it as default project location?

    Currently, the only configuration to set is Project location(default), from Tools > Options > Projects and Solutions > Locations > Project location, and this option will change and set the default project location every time you create a new project, though it doesn’t clear the history of project location.

    You can suggest this feature to VS Product Team on our Developer Community.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.