Search
Showing posts with label silverlight. Show all posts
Showing posts with label silverlight. Show all posts
Monday, October 27, 2008
Upgrading problems Silverlight beta 2 to Silverlight 2
Breaking Change #1. Your Web Page.
If you have a project already developed for beta-1 or beta-2 you will need to make an adjustment to your web page that hosts the Silverlight control. For an HTML page change you will need to change the MIME type. To do this, open your HTML Page, change “x-silverlight-2-b1” or “application/x-silverlight-2-b2” to “application/x-silverlight-2”.
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
If you use an ASPX based Page, open your ASPX page and change the Minimum Version to 2.0.31005.0
<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/TextBlockTest.xap" MinimumVersion="2.0.30923.0" Width="100%" Height="100%" />
Also, you should update your Silverlight Tools to the latest release if you haven't already. It is available from http://silverlight.net/getstarted
Subscribe to:
Posts (Atom)
