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