Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Visual Studio 2010 and SilverLight 3.

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-04-2011
Member
 
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.

Reply With Quote
  #2  
Old 18-04-2011
Member
 
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,
Reply With Quote
  #3  
Old 18-04-2011
Member
 
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.
Reply With Quote
  #4  
Old 18-04-2011
Member
 
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.
Reply With Quote
  #5  
Old 18-04-2011
Member
 
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.
Reply With Quote
  #6  
Old 19-04-2011
Member
 
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,
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Visual Studio 2010 and SilverLight 3."
Thread Thread Starter Forum Replies Last Post
SilverLight 4 tools unable to support Visual Studio 2010 SP1 Pandeyji Windows Software 3 17-04-2011 06:54 PM
Visual Studio 2010: features and changes compared to Visual Studio 2008 BinDs14 Guides & Tutorials 2 16-02-2011 02:49 PM
How to run Silverlight 4 in Visual Studio 2010 wllwnn Tips & Tweaks 1 05-08-2010 02:32 AM
Silverlight 4 Projects Unavailable Visual Studio 2010 Dingbang Windows Software 3 03-08-2010 03:54 AM
Compare Visual Studio 2010 and Visual Web Developer Express Zacharia Software Development 5 28-01-2010 04:27 AM


All times are GMT +5.5. The time now is 10:33 AM.