We use a combination of Silverlight 4, .net 4 and VS2010 for several internal projects. When creating a project, we do not manually specify the silverlight assembly that we need anywhere except for the page that is automatically generated.
We are having problems with clients requiring an absolute build of Silverlight, and since our IT department uses a packaging solution for software deployment, they cannot save time updating the package every 2 months.
On our dev machines, we have full administrator rights, however, on those clients where they run these applications, the machines are locked and users cannot install anything.
We tried to play with tags created in HTML to require several months of release, which packed IT, to no avail (see our html below).
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="/ClientBin/xapfilename.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50401.0" />
<param name="autoUpgrade" value="false" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
Does anyone have any ideas on how to get Silverlight to work with an older version (4.0.50401.0) as opposed to the latest version (4.0.50917.0)?
source
share