SL 4 Version Hell? The silverlight developer runtime is not installed please install a matching version - silverlight

I've been developing for and running Silverlight 4 for about a week. A week ago I installed the Silverlight 4 design time components to develop and debug silverlight for VS 2010 - I posted some of these apps and they were used by users running SL4. Today, I went to a website that told me to upgrade my SL (I think it was the MS expression site) - so I did that and all the sudden I get this error when running SL 4 apps within VS 2010.
The silverlight developer runtime is not installed please install a matching version
Installing the latest version of the Silverlight SDK does not correct this. Basically I am stuck and unable to run Silverlight apps from VS2010.
Are versioning problems like this a common theme in SilverLight? The only thing I can think of is that there is a minor version difference between the versions used on the the MS Expression web site and the version (SL4) I installed from MS site a few days ago? However re-installing the latest version of SL4 does not correct this.
Any help?

The developer runtime is a different download than the normal "end user" runtime.
Again quoting from Tim Heur's Blog, you need to look for the link under "getting the updates" that points to the developer runtime. This will allow you to debug etc.

Related

unable to find a version of silverlight developer runtime installed

In the following environment:
-VS2012
-Windows 7 64bit
-Microsoft Silverlight 5 SDK
I have created a few lightswitch applications in VS2012 but I am running into an error when attempting to create a new one or open an existing lightswitch project. I receive a pop-up that says "unable to find a version of silverlight developer runtime installed".
There is a link on the pop-up which starts a download but after downloading it, I still receive the same error.
I was able to fix the issue by doing the following :
I went into "Uninstall a program" and noticed that I had 4 different Silverlight related items installed.
Microsoft Silverlight
Microsoft Silverlight SDK3
Microsoft Silverlight SDK4
Microsoft Silverlight SDK5
I just uninstalled the first item, "Microsoft Silverlight" then reinstalled the appropriate (32 or 64 bit) Microsoft Silverlight SDK5 from the following link: http://www.silverlight.net/downloads .
Don't use the link that is given in VS 2012. Doesn't work.
I have a slight different solution for Visual Studio 2010. After uninstall the current Silverlight Runtime, I got it to work if I download it from Visual Studio suggested url.
The best way I have found to find the most current Silverlight 5 Developer Runtime or End-User Runtime, is to search the downloads for the latest Silverlight bits. All other suggestions seem to take you on a wild goose chase depending on what version of Visual Studio or OS you are using.
Search Microsoft Downloads
Just look for the latest "Security Update for Microsoft Silverlight" entry.
The Silverlight Security Update KB2890788 is what fixed it for me, after trying uninstall and re-install without success.

Install/compile for specific Silverlight build

I updated Silverlight on my dev. machine, but clients still have older Silverlight version and they do not want to update.
Now I need to revert Silverlight 4 back to older version (50401). I tried to uninstall Silverlight and install older version, this required my to install developer tools, too.
No luck, still it requires newer version on clients machines. So I suppose real version is inside developer tools?
The question is, how do I make VS2010 to compile project for specific Silverlight 4 build?
I already stumbled on that kind of problem, and I had to re-install my sdk.
Check out that great article from Tim Heuer:
http://timheuer.com/blog/archive/2010/09/28/keeping-your-silverlight-dev-environment-stable-through-service-releases.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+timheuer+%28Method+%7E+of+%7E+failed+by+Tim+Heuer%29

Silverlight 3 version compatibility

We've noticed a compatibility issue with a Silverlight 3 app which runs fine with v3.0.40818, v3.0.50106 and v4.0.50401 but refuses to load in v3.0.40624. Instead it gives a message box saying a more recent version of Silverlight is required.
Does anyone know what the changes were between 3.0.40624 and 3.0.40818 or why the app might not be compatible?
I think you'll find that 3.0.40624 is a Beta version of Silverlight 3. You should recommend to any users you have that still have this Beta version to upgrade.

Expired Beta Release of Silverlight

I am getting the following message when trying to create a new Silverlight application in VS2010RC:
This application was created for an expired beta release of Silverlight. Please contact the owner of this application and have them upgrade their application using an official release of Silverlight.
What do I need to do to resolve this issue?
The final releases of both Visual Studio 2010 and Silverlight 4 are available, so I suggest you "upgrade".
Now that Visual Studio 2010 & .NET 4.0 been officially released, the beta and RC versions will start refusing to work and instead posting messages like you are getting.
To avoid the error, you will probably need to install the RTM (Release-to-Manufacturing) versions of the Silverlight 4 SDK and the Silverlight Tools. At worst, you would need to upgrade .NET 4 and Visual Studio 2010 as well.
The Silverlight 4 Tools page may be the first place to find the latest versions. There is a link to download the Silverlight 4 SDK there, but I'm not sure if that's really the RTM version.
Also, note that often Microsoft expects you to fully uninstall the beta or RC versions of their software before installing the final version.

Is there any version problem in Silverlight 3 beta?

I have deployed website using silverlight 3.0.40307.0. It is working perfectly in Local IIS. But when client will installs the newer version of silverlight like 3.0.40626 or higher, It wan't be able to view website.
How to get silverlight 3.0.40307 (old version of 3.0 beta)?
What is the possible solution to deploy silverlight website on IIS?
What silverlight component should be installed on server to view silverlight application on browser?
Can we install silverlight TOOL without VS2008+SP1? if yes, then how?
You need to upgrade your version of Silverlight to the released version. You can't expect users to run beta software because you would be forcing them to use software that is known to contain defects.
You need to download the latest version of the SDK and templates from here.
Clients need only the Silverlight runtime plugin for their browser. There's no way you can enforce the client to install the SL 3 Beta version of the plugin you want; and even if you do, there's no (easy) way to prevent it from self-updating to the RTM version. Not only that, but asking clients to install a Beta version of a released product is a security threat for them.
There's no official way to get the SL 3 Beta runtime installer.
An SL app is a client-side code; on the server side you only need standard IIS that serves HTML with an tag and the .xap file for the SL application.
There are no SL components required to be installed on the server for the client to run the SL app.
You can't install the Silverlight Visual Studio Tools without VS2008 SP1 - as their name suggests, the tools are intended to integrate with VS. However, you can install the SL SDK and build SL applications without having VS2008 SP1. (Alternatively, you could use MonoDevelop/Mono/Moonlight to develop SL applications)
If you have deployed your silverlight app that is compiled with Silverlight version 3.0.4.0307.0(i.e. Silverlight Beta), your app may work perfectly for the users with Silverlight 3(RTM).
However, if those visitors come across your silverlight app who doesn't have Silverlight installed at all(or maybe lower than Silverlight 3 Beta), they will be prompted to download Silverlight to view your app.
Once they wish to download Silverlight runtime by clicking on the "Get Silverlight" button, visitors will be redirected to Silverlight download location, and the most important part is
**They will get a message explaining that this app is made with Beta version of the Silverlight.
So this may hamper thier experience and impression about your silverlight app and because of this very few people can get to your app correctly **
It is my suggestion that you try to compile your project with Silverlight 3 as early as possible .
Regarding 2nd question What is the possible solution to deploy silverlight website on IIS?
Here is the Answer : You'll need to register the MIME types for xap on your server.

Resources