Unable to create directory "obj\Release"


I am suddenly getting an error that states:

Unable to create directory "obj\Release\". Access to path 'obj\release' is denied.

I can manual create a folder in my project directory called anything except "obj".  When I try to name a folder "obj" I get an error that says:

The action can't be completed because the folder is open in another program.

This is stopping me from building and debugging my project.  Any help would be greatly appreciated.
Who is Participating?
magicdlfConnect With a Mentor Commented:
Restart your computer, move your source code to another directory, and try again. It looks like some process (probably VS) is preventing you creating obj directory.
tlchavetAuthor Commented:
Thanks - that worked!  It actually didn't require the computer restart, but moving it to a new directory worked.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.