22

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

Error

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
Abinash Panda
  • 343
  • 1
  • 2
  • 16

10 Answers10

38

Turning off Silverlight debugging solved the problem for me.

Go to the web application's Properties, right click on the web project and select properties. On the Web tab, turn off Silverlight.

Turn off Silverlight debugging

Devid
  • 1,823
  • 4
  • 29
  • 48
shamp00
  • 11,106
  • 4
  • 38
  • 81
  • 1
    Thank you thank you thank you. This is still a problem today with VS 2022. I unchecked the box and it fixed the issue. 1000 Thumbs up. – coding4fun Nov 23 '21 at 14:40
  • This solved my problem too on Visual Studio 2022. Just wanted to add the Information to right click on your web project and then click on Properties to reach the settings. – Devid Jun 06 '23 at 08:19
13

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

gmn
  • 4,199
  • 4
  • 24
  • 46
  • The link no longer works. This [link](https://developercommunity.visualstudio.com/content/problem/26630/the-debugger-is-not-properly-installed-cannot-debu.html) has a discussion of the main solutions mentioned here. – Simon Hutchison Aug 06 '17 at 23:17
13

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

rene
  • 41,474
  • 78
  • 114
  • 152
Truandale
  • 147
  • 1
  • 5
  • what do you mean by recover? – coder771 Jul 07 '17 at 08:53
  • I think by recover he means run the repair from the persistent installer. It's listed under the small hamburger menu. This worked for me after I deleted the directories mentioned. – Fredrick Aug 17 '17 at 18:45
  • This solution worked for me. Before this, I tried reinstalling all the MS components. Clean the registry by CCleaner. Failed. – Andrey St Sep 04 '17 at 08:37
  • 3
    It would be useful if you explained what "clean" and "recover" means, and how to do that. – andydavies May 19 '18 at 10:42
2

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

dajo
  • 187
  • 10
2

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

Fritz
  • 424
  • 3
  • 7
2

I experienced this issue after installing .NET Core SDK 2.0 without removing old .NET Core SDK's. It seems that having both causes issues.

enter image description here enter image description here

Oliver
  • 35,233
  • 12
  • 66
  • 78
1

Try selecting a different browser (next to the green Run triangle). There is more info at https://developercommunity.visualstudio.com/content/problem/26630/the-debugger-is-not-properly-installed-cannot-debu.html, as noted by dajo.

Steve Pitchers
  • 7,088
  • 5
  • 41
  • 41
1

Install Visual Studio 2015 Professional.

I really wish this was not the answer, but it was the only way I got around the debugger not installed problem.

William Denman
  • 3,046
  • 32
  • 34
0

I had this issue after uninstalling some Microsoft SDK's, (I had 0kb space on my PC so started deleting random stuff from the control panel, and thought I only had these SDK's installed from previous projects, whoops!)

I had 1 forum say to install the "Windows Communication Foundation" module which I did through the "Visual Studio Installer" app, but that didn't fix it.

I then did a full repair of Visual Studio, also "checked for windows updates" because a lot of the SDK's must have come from Windows updates over the years.

How I fixed the issue (check if issue is resolved after each step):

Dharman
  • 30,962
  • 25
  • 85
  • 135
-1

In Visual studo 2022, you might have enabled the JavaScript debugging. Please uncheck that, it works.

Go to TOOLS->Options->Debugging->General and uncheck it as below picture:

enter image description here

tika
  • 341
  • 2
  • 11