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?
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.
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.
Try to exit from Visual Studio first
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With