I try to host a simple silverlight 2.0 application without bin folder.
I just wonder if it's possible to be done. I've remove away the <%@ Register %> in my aspx page and i add in the following on my <assemblies> and <pages>
It works fine with the bin folder but when it was removed it throws:
Could not load file or assembly 'System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I have Silverlight 2.0 SDK and 3.5 .Net installed. So is there any way to deploy it without copying the dll? because the web hosting doesn't allow us to copy "dll" files over.
henriindonsi...
Member
1 Points
1 Post
Hosting silverlight 2.0 without .dll file
Nov 18, 2008 08:50 AM | LINK
Hi,
I try to host a simple silverlight 2.0 application without bin folder.
I just wonder if it's possible to be done. I've remove away the <%@ Register %> in my aspx page and i add in the following on my <assemblies> and <pages>
<add assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add tagPrefix="asp" namespace="System.Web.UI.SilverlightControls" assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
It works fine with the bin folder but when it was removed it throws:
Could not load file or assembly 'System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I have Silverlight 2.0 SDK and 3.5 .Net installed. So is there any way to deploy it without copying the dll? because the web hosting doesn't allow us to copy "dll" files over.
Thanks in advance
Ken Tucker
All-Star
23250 Points
3534 Posts
Re: Hosting silverlight 2.0 without .dll file
Nov 18, 2008 10:17 AM | LINK
You could always use an object tag and javascript to create the silverlight app on your webpage if the silverlight control is not available
Space Coast .Net User Group