8

I've recently upgraded my OS to Windows 10. I have a very basic Silverlight 5 application which gives me Unable to start Debugging. The Silverlight Developer Runtime Not Installed. Please Installed a matching version error in VS 2010 whenever I am trying to run the project.

I have :

  1. Target Silverlight version is set to Silverlight 5 in web project.
  2. I have installed Silverlight SDK, Silverlight5_Tools with SP1 installed & Silverlight Runtime which is 64-bit.

After doing all these steps and going through many online posts, still I'm unable to resolve this issue.

My Doubts are :

  1. Do the Windows 10 upgrade has anything to do with this situation?
  2. Windows 10 comes with a new browser Edge, is this because of this browser? Like Silverlight compability.

Again I am not sure but these are my doubt. Any suggestions?

GThree
  • 2,708
  • 7
  • 34
  • 67

5 Answers5

13

Do you have a 64 bit OS ? If so - uninstall Silverlight (developer!) and make sure you install the silverlight.exe (developer!) not the 64 bit version. That worked for me. HTH

Guy Cohen
  • 689
  • 1
  • 9
  • 25
  • install : Silverlight_Developer.exe not : Silverlight_Developer_x64.exe – Guy Cohen Aug 11 '15 at 11:50
  • 4
    Well I tried that but it didn't worked. What I did was installed `Silverlight_Developer_x64.exe` and then made ie as a default browser and it worked!!. – GThree Aug 12 '15 at 21:05
  • I uninstalled Silverlight, (not the SDK) and reinstalled. Googled "download Silverlight 5 developer runtime for windows 64 bit" Be sure to use IE as your default browser as Edge and Chrome won't run SL any more and neither will IE after version 11. Onwards to typescript and javascript :( – MtnManChris Oct 05 '16 at 15:16
  • 2
    Contrary to this answer, uninstalling Silverlight and installing the 64 bit version solved the problem for me. – Craig Shearer Jun 19 '18 at 23:10
  • Hi Craig, maybe your case was like that , and it is 100% ok. Probably there are many other solutions ... once I had RTL problems and MS responded "install Office 97 and the problem will go away... – Guy Cohen Jun 20 '18 at 04:30
  • One more for whom uninstalling and installing the 64 bit version over did the job. – Veverke Feb 19 '19 at 10:24
  • Well, I uninstalled the Silverlight, not Silverlight SDK and installed 'Silverlight_Developer_x64'. That worked! – Suyash Gupta Oct 03 '19 at 13:10
  • I am happy for you - @SuyashGupta – Guy Cohen Oct 06 '19 at 05:50
  • @GuyCohen Hahaha... Me too ;) – Suyash Gupta Oct 06 '19 at 06:48
7

Go to the properties of the Web folder start project. Click Web on the left tab. Unclick Silverlight in the debuggers.

Not a total solution but at least it allows you to debug other portions.

  • This helped me with a standard web application project with the Silverlight option ticked, which on my new development computer didn't work. – Kjetil May 21 '16 at 19:13
5

I had this issue and Uninstalling and Reinstalling didn't work.

Error in debug mode (F5 Debug solution configuration) was "Unable to start debugging. The Silverlight Developer Runtime is not installed"

In Debug configuration I would get the above error but finally I put the solution into release mode and it worked - then back to debug mode and everything worked without error.

Seems like a really odd fix but sure enough closing and re-opening the solution everything works now - Same install procedure as OP.

Another thing that's interesting is, the Debug only works in Chrome. If I target IE or edge I still get "Unable to start debugging. The Silverlight Developer Runtime is not installed"

Watson
  • 1,385
  • 1
  • 15
  • 36
2

I uninstalled Silverlight and then installed Silverlight_Developer.exe. I also switched default browser in Visual Studio to Internet Explorer (I have Edge otherwise which won't work...).

Nice to see some more people also using Silverlight these days, hehehe.

MatsL
  • 21
  • 2
0

This is a really old thread, but I just ran into this issue with a project. I was getting the message that the Developer runtime was not installed, but in fact it was, and another similar project ran just fine on the same machine with the same version of VS 2015.

The fix was to ensure that the startup project is the WEB project, not the Silverlight project. Somehow, the default startup project got switched to the SL project. After I switched back, then it worked just fine.

Greg Gum
  • 33,478
  • 39
  • 162
  • 233