I have installed SDK 2 but getting the same error when I put the “System.Web.Silverlight.dll” from this file path “d:\Softwares\Microsoft SDKs\Silverlight\v2.0\Libraries\Server\ “ in the assembly viewer I got the same error. And when I right clicked on the project and selected “Property Page” and then “References” and after that added “system.Web.Silverlight”. and I got the following code in Web.Config
Code:
<add assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
Silverlight and Mediaplayer was added in tool box. And to compare HTML code, I put Silverlight tool in web page and got this
Code:
<%@ Register assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.SilverlightControls" tagprefix="asp" %>
And then I removed the code which I added by Silverlight tools and I got this code.
Code:
<asp:silverlight source="~/clientbin/SilverlightApplication1.xap" minimumversion="2.0.31005.0" width="56%"height="100%" runat="server" ID="sl25" />
Please give me further instructions.
Bookmarks