asp.netvisual-studiovisual-studio-2022

"Web Site Already Exists" Popup When Creating a ASP.NET Empty Web Site Project in Visual Studio 2022


I created a ASP.NET Empty Web Site project earlier in Visual Studio 2022 but I had to delete the folder due to some reason. Now when I try creating a project with the same name at the same path with no folder in it (no hidden folders also) it shows this popup. I don't want to change the name.

This is my first time using Visual Studio for web project and I looked everywhere but couldn't find anything related.

Screenshot


Solution

  • So I solved solved the issue by disabling the Place solution and project in the same directory. Although I always place my solution and project in the same folder for every Visual Studio project. I am assuming it's a bug from Visual Studio or Windows itself.

    Screenshoot