Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio: unable to delete folder this function is not supported on this system

Appparantly I'm the only one on the Internet experiencing this problem because I can find ZERO other reports of anyone else encountering it. Unfortunately I've been dealing with it for months and I don't know what else to do.

sometimes when I attempt to delete a folder from visual studio 2010, I get the error

unable to delete folder 'XXXX' this function is not supported on this system

I can't delete it from the file system either unless I reboot the machine. Apparently there is a lock on it somewhere, but I can't find it. I tried to use Unlocker, but that doesn't work on Windows 7 x64 so I'm stuck.

This happens most often with the App_Theme folder, though it happens with other folders as well.

I would suspect it has something to do with source control (we are using sourcegear fortress), however I've encountered this error at home on my personal projects, and I don't use source control on that...

so does anyone have any ideas? has anyone out there experienced this issue? please help, it's driving me quickly and certainly towards insanity.

like image 450
SelAromDotNet Avatar asked Jun 22 '10 18:06

SelAromDotNet


People also ask

How do I delete a folder in Visual Studio?

In either Solution Explorer or Source Control Explorer, browse to the folder or file that you want to delete. Select the items that you want to delete, open their context menu (right-click), and choose Delete.

What to do if a folder Cannot be deleted?

How to Force Delete File or Folder in Windows 10? - Quick Guide. Open elevated Command Prompt in Windows 10. Type del + file path command, press Enter to force delete file. Type rmdir /s /q + folder directory, press Enter to force delete folder Windows 10.

How do I delete a Visual Studio code folder?

Windows - Delete %APPDATA%\Code and %USERPROFILE%\. vscode . macOS - Delete $HOME/Library/Application Support/Code and ~/. vscode .


1 Answers

same thing to me here, what i am doing to fix that is to delete that file or folder from the file system and after that delete it from visual studio.

like image 130
AgainstFools Avatar answered Oct 13 '22 12:10

AgainstFools