Debug in Visual Studio 2017 gives access denied

12,709

Found the solution enable 'use managed compatibility mode' in the debugging>general section of VS2017 options. found here:https://developercommunity.visualstudio.com/content/problem/49763/access-denied-when-attempting-to-run-under-the-deb.html

Share:
12,709
Paul Sorensen
Author by

Paul Sorensen

Updated on June 16, 2022

Comments

  • Paul Sorensen
    Paul Sorensen almost 2 years

    I have installed Visual Studio on Windows server 2012 and now I'm trying to debug an existing project. This gives me 'Error while trying to run project - access denied' I have now problems running the project without debugging.

    I have restarted Studio and no files are read-only