How to set Silverlight 5.1 as requirement for a Website?

drogtoummor

New Member
When you develop a Silverlight app and want to embed in a HTML you do something like this:\[code\]<object data="http://stackoverflow.com/questions/14420083/data:application/x-silverlight-2," type="application/x-silverlight-2" width="1345px" height="667px">...<param name="minRuntimeVersion" value="http://stackoverflow.com/questions/14420083/5.0.61118.0" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=5.0.61118.0" style="textdecoration:none"><img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>\[/code\]The problem is there's a bug that prevents a OOB App to update itself(Source: http://www.microsoft.com/getsilverl... Silverlight Release History.htm#SL_5_1_10411)The bug is fixed in v5.1.x however, when I develop in Visual Studio, it always setup the web page for 5.0.x as shown above.It is NOT as simple has changing the values minRuntimeVersio to 5.1.x.. I tried that as well as modify the link with the param &v=5.1...., it does not work, as test I can even "require" 5.2 which does not even exists and the link does not show invalid request.Any idea how to ensure the users will have the most up-to-date plugin?
 
Back
Top