C
C#8mo 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
Ab8mo 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 McCheese8mo ago
did you restart visual studio?
Ab
Ab8mo ago
yeah
Mayor McCheese
Mayor McCheese8mo ago
did that help?
Ab
Ab8mo ago
No, still has the error
Mayor McCheese
Mayor McCheese8mo 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
Ab8mo ago
yeah it is I don't think so for the other things
Mayor McCheese
Mayor McCheese8mo ago
Make sure iis express is stopped
Ab
Ab8mo ago
it is yeah I think git may have messed up something I might need to redo the project
Mayor McCheese
Mayor McCheese8mo ago
I doubt it if you restart your pc what happens?
Accord
Accord8mo 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
Ab8mo ago
Even receating the project didn't help :/
Mayor McCheese
Mayor McCheese8mo ago
Weird I can jump on with you later
Want results from more Discord servers?
Add your server
More Posts
❔ ✅ A word with the length of > 5 will be reversed, e.g. hello -> ollehWrite a function that takes in a string of one or more words, and returns the same string, but with ❔ Error with showing Images in Azure App Service.Using Asp.net and Azure Blob Storage and Azure App Service: When I run my API locally on my computeIssues with EFCoreHello everyone, I am trying to use ApplyConfigurationsFromAssembly but it seems to not be finding an❔ Could u help me plzI´m learning coding with a youtube course, and i´m trying to do a crud, but this error with the form❔ Modular programming ?Hello, I am currently studying video game programming in C#. As part of this, we have a project to ❔ Is this possible in WEBAPI to add logic between JWT token validation and the authorization?I read a blog about the AspNetCore WebApi: https://jasonwatmore.com/post/2022/02/18/net-6-role-based✅ docker build with dotnet 8ERROR: Service 'vmg-dashboards-api' failed to build: The command '/bin/sh -c dotnet restore "vmg.dasMake every textblock in an itemscontrol with an OCollection<string> as the source have a click eventI have an itemscontrl with a OCollection as the source which means it can be updated i have a textbl❔ Validation of appsettings configuration before running the applicationHello. I would like to validate entries in the appsettings configuration at application startup to ❔ Migrate AppDomain (.net framework) to AssemblyLoadContext (.net core)I need help converting this code to the .net core equivalent by using AppDomain here, ensured that t