C
C#13mo 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
AbOP13mo 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
Mayor McCheese13mo ago
did you restart visual studio?
Ab
AbOP13mo ago
yeah
Mayor McCheese
Mayor McCheese13mo ago
did that help?
Ab
AbOP13mo ago
No, still has the error
Mayor McCheese
Mayor McCheese13mo ago
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
AbOP13mo ago
yeah it is I don't think so for the other things
Mayor McCheese
Mayor McCheese13mo ago
Make sure iis express is stopped
Ab
AbOP13mo ago
it is yeah I think git may have messed up something I might need to redo the project
Mayor McCheese
Mayor McCheese13mo ago
I doubt it if you restart your pc what happens?
Accord
Accord13mo 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
AbOP13mo ago
Even receating the project didn't help :/
Mayor McCheese
Mayor McCheese13mo ago
Weird I can jump on with you later
Want results from more Discord servers?
Add your server