VS2017: The debugger is not properly installed. Cannot debug the requested type of code

19,546

Solution 1

Turning off Silverlight debugging solved the problem for me.

Go to the web application's Properties. On the Web tab, turn off Silverlight.

Turn off Silverlight debugging

Solution 2

I solved this problem for Visual Studio 2017 Community.

Clean folders:

  • C:\Program Files (x86)\Common Files\Microsoft Shared\VS7Debug
  • C:\Program Files\Common Files\microsoft shared\VS7Debug

Then recover Visual Studio

P.S. This issue happen because dlls corrupted. Here is this case

Solution 3

For me the fix was found in that thread, I disabled javascript debugging in the Tools -> Options -> Debugging -> General -> Enable Javascript debugging...

Seems that it was having issues debugging in chrome..

direct link to the answer

Solution 4

This seems to be a known issue and is under investigation by the VS 2017 team. More information here: https://developercommunity.visualstudio.com/content/problem/26630/the-debugger-is-not-properly-installed-cannot-debu.html

Solution 5

For me the following solved the problem:
In Visual Studio 2017, open the property page for the web project. Go to tab "Web". Select Start Action "Don't open a page. Wait for a request from an external application".

enter image description here

Share:
19,546
Abinash Panda
Author by

Abinash Panda

Updated on June 12, 2022

Comments

  • Abinash Panda
    Abinash Panda almost 2 years

    I installed Visual Studio 2017 Enterprise edition and when I am running my application getting the below error.

    Error