When I try to add a file to my project, I get this error:
A file or folder named azazaz.cs already exists.
Please provide a unique name for the item you are adding, or delete the existing item first.
There have been no updates recently for Visual Studio. The problem arises only in this project. It works correctly on other computers.
What I have tried so far:
I tried many different names, checked for hidden files, and checked the location of the folder.
Deleted the repository and downloaded it again (via GitHub), as suggested by AbhishekP.
The "ComponentModelCache" folder in the "AppData \ Local" folder has been deleted, as suggested by Srikanth.
Check the ".csproj" folder for the file name in the error message, but it does not exist.
I can not start and create a new project.
source
share