Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't delete project folders created by Visual Studio 2010

I created a Visual Studio 2010 project that I want to remove completely and that includes all project folders.

I'm logged in as the administrator.

I tried to delete the folders in the file explorer, but only get a message telling me I need to have administrator permission to delete it.

Visual Studio seems to have put a lock on the project folders that an administrator account can't access.

I know I have rights to create and remove folders on my own because I created a test folder and deleted it without any issues.

Do you know a work-around for this?

like image 907
Emad-ud-deen Avatar asked Feb 16 '12 19:02

Emad-ud-deen


3 Answers

Solved:

Here are the steps I took:

  • Navigate into one of the folders inside the one to remove. If it can't be deleted, navigate into a sub folder.

  • Delete it.

  • After the sub folder are removed, I was able to get rid of the main solution folder.

  • I have not tried this yet for deleting, but I recently found how to turn on the hidden Administrator account. I'm assuming it would let me delete the files.

like image 60
Emad-ud-deen Avatar answered Sep 26 '22 07:09

Emad-ud-deen


There is a process (VBCSCompiler.exe) in Windows Task Manager to every solution you have started it. to delete the solution directory you have to kill this process (VBCSCompiler.exe) then delete the directory.

like image 29
Mhd. Osama Jindia Avatar answered Sep 26 '22 07:09

Mhd. Osama Jindia


Try to exit from Visual Studio first

like image 42
bluebyte Avatar answered Sep 22 '22 07:09

bluebyte