Jaskaran Singh
Jaskaran Singh

Reputation: 157

unable to create new project in visual studio 2015

i am not able to create new project in visual studio 2015. The error is access to path is denied C:\Users\good\Documents\visual studio 2015\windowsapplication1\windowsapplication1' is denied.

Upvotes: 0

Views: 8863

Answers (4)

Waldemar Gałęzinowski
Waldemar Gałęzinowski

Reputation: 1233

I got this problem while trying to create a project under a virtual disk path (created by command SUBST), so the solution for me was to create a project under a path the virtual disk path was referring to.

Upvotes: 0

Madhusudan Narayan
Madhusudan Narayan

Reputation: 63

What worked for me is this:

I uninstalled Visual studio 2015 completely and then installed Visual studio 2015 with option for update 3 unchecked.

I guess update 3 can cause this issue.

Upvotes: 0

Chris Carter
Chris Carter

Reputation: 85

I had a similar problem in Visual Studio 2017. I removed this folder to get it working again:

C:\Users\USERNAME\AppData\Local\Microsoft\VisualStudio\15.0_4f8023be

  • 15.0_4f8023be is a unique hexadecimal number for my AppData, yours will be a different.

It might also work by just removing:

C:\Users\USERNAME\AppData\Local\Microsoft\VisualStudio\15.0_4f8023be\privateregistry.bin

and that way you won't lose your settings and extensions.

Upvotes: 1

Jaskaran Singh
Jaskaran Singh

Reputation: 157

i found the solution run visual studio as administrator or

Open visual studio. Tools Menu | Options | Projects and Solutions | Check the checkbox "Save new projects when created".

Also, you can change projects location in same dialog. Change it to somewhere else like D:\VBProjects etc..

Upvotes: 0

Related Questions