Running a dotnet website locally triggers the below warning:
"The Just-In-Time debugger was launched without necessary security permissions"
If I say yes to debug, it asks for admin access which will then launch a debugger highlighting where the problem is in the code.
What I'd like to understand is:
- What would cause this to start happening? Normally, if there was an error, the site would fail and the stacktrace would be displayed rather than try and force a debugging session?
- If I'm already running Visual Studio as an Administrator, why is this process also not being granted administrator privileges?
- This has started affecting several team members with different versions of Visual Studio (2017 Pro & 2019 Enterprise) and different code bases - could it be affected by a VS or Windows update, Group Policy etc?
- So far have repaired VS, DotNet, deleted and recreated the local websites, reconfirmed website file permissions.