Require old silverlight version

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)?

+3
source share
3 answers

The required version is determined by the version of the Silverlight SDK with which you built the project.

To revert to an older version, you will need to use the old SDK (along with any errors that have been fixed).

The best place to start archiving any SL SDKs that you use. I'm not sure if older versions are still available.

SDK Microsoft: http://www.microsoft.com/en-us/download/search.aspx?q=silverlight%20sdk

+4

Tim Heuer : Silverlight ( 2010 )

, - , , SDK. "". ( ). minRuntimeVersion, XAP AppManifest.xml RuntimeVersion, . SDK. , SDK, .

. minRuntimeVersion , , , .

, , , minRuntimeVersion RTW (4.0.50401.0), , XAP ( AppManifest) , .

+3

Silverlight SDK, Microsoft Silverlight. : http://www.microsoft.com/download/en/details.aspx?id=12121. , :)

0

Source: https://habr.com/ru/post/1767891/


All Articles