C
C#2y ago
Ab

❔ ASP.NET - Why is the access to my project folder denied all of a sudden?

Lightshot
Screenshot
Captured with Lightshot
13 Replies
Ab
AbOP2y ago
I'm getting the above error when I try to compile/run my C# web app (ASP.NET Core). According to the MS website, MSBuild gets this error when it can't write to a file. In this case, Windows is saying access is defined. Why is that? I believe this started happening after I published the repos to github.
Mayor McCheese
did you restart visual studio?
Ab
AbOP2y ago
yeah
Mayor McCheese
did that help?
Ab
AbOP2y ago
No, still has the error
Mayor McCheese
do you have a virus scanner running, or a file synch process ( like one-drive, drop box )? also, is this running via iis express?
Ab
AbOP2y ago
yeah it is I don't think so for the other things
Mayor McCheese
Make sure iis express is stopped
Ab
AbOP2y ago
it is yeah I think git may have messed up something I might need to redo the project
Mayor McCheese
I doubt it if you restart your pc what happens?
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Ab
AbOP2y ago
Even receating the project didn't help :/
Mayor McCheese
Weird I can jump on with you later

Did you find this page helpful?