When attempting to debug, any solution/project, in Visual Studio 2022 preview I'm receiving "Access Is Denied"
The directory that the solution exists has all the correct permissions for my user account as well as administrators. I have also tried while running Visual Studio as admin. The output exe will also register Access Is Denied if I try to run it directly, outside visual studio. I can move the exe to another directory and still receive the Access Is Denied message.
I utilize Windows 10 version 21H2, I login using an Azure Active Directory account.
My project paths live in C:\Users(MyAzureName)\Version Control\



I finally figured out the cause of this problem. Our cloud antivirus solution was submitting applications from my Version Control directory to quarantine without notifying me. I have excluded this path from my AV scanning and now my debugging is functioning as normal.
Ctrl+F5 worked once. For corp managed systems, the option to change the virus checker settings are limited. Any other ideas appreciated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With