• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 983
  • Last Modified:

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.
1 Solution
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.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now