Friday, 6 September 2013

Error on adding class or other items to a C# program in Visual Studio 10. Error: "Access to path is denied"

So you are getting an error on adding a class or interface or any other item to a Console Windows Application/Project. An error like "Access to path is denied":















Make sure the following two things and the error will go away:


  • Your 'C:\Users\Admin\AppData\Local\Temp' folder is not hidden. If hidden, then unhide it and all its subfolders and files.
  • Your Visual Studio Folder i.e. where Visual Studio is saved in you computer must not be hidden especially the VS\Common7\IDE folder. You generally find this folder in 'C:\Program Files\VS10\Common7\IDE'. Unhide the IDE folder and all its subfolders and files.

No comments:

Post a Comment