Results 1 to 6 of 6

Thread: Visual Studio 2010 and SilverLight 3.

  1. #1
    Join Date
    Jan 2011
    Posts
    64

    Visual Studio 2010 and SilverLight 3.

    Hello guys I am Computer Science student and I have bought a new computer and I have to install VS2010 from VS2005/VB.Net/ASP.Net/Infragistics, with VS2010. I have installed VS2010 Beta 1 on my system, SL3 SDk and Silverlight developer. But I think something has gone wrong while installing because when I click on “Silverlight Components” in toolbox of Silverlight Application I get an error and VS201 reboots. Guys please help me out.

  2. #2
    Join Date
    Apr 2011
    Posts
    8

    Re: Visual Studio 2010 and SilverLight 3.

    Hey dude I was looking for same query but didn’t because I thought maybe it will need some programming so I was just looking around, I have exactly the same problem as you have described and I have one more problem I want to add an xap file in ASP.Net/VB project which is
    Code:
    <asp:silverlight source="~/clientbin/SilverlightApplication8.xap" minimumversion="2.0.31005.0" width="75%"height="75%" runat="server" />
    I had got the following Error "Error Creating Control - Aspilverlight Unkown server tag 'asp:silverlight'” . Please help I will be going to web.config file to add Assembly, but what information to add in "<add assembly ="" />" . Please help guys,

  3. #3
    Join Date
    Jun 2009
    Posts
    1,518

    Re: Visual Studio 2010 and SilverLight 3.

    Well dude I had similar kind of problem but it got fixed in few seconds even I thought it will be something related to coding so I was bit worried about it in the beginning but when I got the solution it was just few clicks away actually Silverlight 3 SDK doesn’t include asp:silverlight control so you guys have to install Silverlight 2 SDK then the issue will be fixed and I guess problem of both you guys will be solved. Revert soon if you have any other query.

  4. #4
    Join Date
    Apr 2011
    Posts
    8

    Re: Visual Studio 2010 and SilverLight 3.

    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.

  5. #5
    Join Date
    Jun 2009
    Posts
    1,518

    Re: Visual Studio 2010 and SilverLight 3.

    Well dude I am not getting you what you’re trying to do, I bit confused after looking at your codes But I want you to know that you should remember Silverlight runs on the client side and on server side ASP.Net runs. If you want you can call a wcf or asmx service by using Silverlight application. Well you have given me the errors and the codes but you haven’t told me what are trying to do , first tell me then I will be able to help you out.

  6. #6
    Join Date
    Jan 2011
    Posts
    64

    Re: Visual Studio 2010 and SilverLight 3.

    Well mate my query you have solved in your very first post only, after installing SDK 2 everything started working. I was bit worried at that time I thought there some major error and I have to reinstall my system and everything but the nothing was like that. I have searched a lot about this thing over net but nobody have suggested me this thing and as sson as I installed SDK2 and restarted the system. Everything started working on Silverlight. Thanks a lot mate,

Similar Threads

  1. SilverLight 4 tools unable to support Visual Studio 2010 SP1
    By Pandeyji in forum Windows Software
    Replies: 3
    Last Post: 17-04-2011, 05:54 PM
  2. Replies: 2
    Last Post: 16-02-2011, 02:49 PM
  3. How to run Silverlight 4 in Visual Studio 2010
    By wllwnn in forum Tips & Tweaks
    Replies: 1
    Last Post: 05-08-2010, 01:32 AM
  4. Silverlight 4 Projects Unavailable Visual Studio 2010
    By Dingbang in forum Windows Software
    Replies: 3
    Last Post: 03-08-2010, 02:54 AM
  5. Compare Visual Studio 2010 and Visual Web Developer Express
    By Zacharia in forum Software Development
    Replies: 5
    Last Post: 28-01-2010, 04:27 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,634,122.51410 seconds with 17 queries