I try to add a new file to my source controlled VS2012 solution and receive this message:
A file or folder with the name \'xxx\' already exists. Pleas
Restarting Visual Studio helped me.
Steps if a folder is Missing
Show All Files in the Solution Explorer window to show the existing, but missing folder.Include in ProjectI fixed it by actually adding a file and then deleting it again.
Restarting Visual Studio didn't help, the folder is cached on the system.
Open Solution Explorer there is an icon that looks like a many Pages: which is the Show All Files. Once clicked, one is able to see the hidden, to the visual studio project, the folder that was causing this error. (Look for the folder in the View section.)
After I deleted the unwanted folder, and Rebuild Project, You should be able to Create the controller which will create the view automatically...