Jump to content

  • Log In with Google      Sign In   
  • Create Account

Silverlight XAML loading fails right out of the gate.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 athono   Members   -  Reputation: 132

Like
0Likes
Like

Posted 17 July 2013 - 05:38 PM

Silverlight XAML loading fails right out of the gate.

 

This is the first time I have started a silverlight project on the current machine I am on with Visual Studio 2010.  Until now, I have been programing ni ASP.NET.

 

When I first tried to start a new Silverlight project, I was told I needed to install a fresh copy of Silverlight.  I had to uninstall Silverlight as well as my versions of the Silverlight SDK.  After uninstalling and reinstalling (now I have Microsoft Silverlight  5.1.20513.0 and Silverlight 4 SDK 4.0.50826.0) I was finally able to create a Silverlight Project.  But the XAML code instantly failed to load in the IDE

 

http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate02_zps0bd33d95.png

http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate01_zpse0f20845.png

 

Any suggestions?



Sponsor:

#2 jms bc   Members   -  Reputation: 445

Like
0Likes
Like

Posted 18 July 2013 - 10:37 AM

Which version of Windows? 

 

I've had no problems with Win7 but I had to jump through hoops to get things working on my XP machine after Slight updated to v5 (without my knowing). 

 

After work, I can check which versions of the player/tools/sdk I have...

 

By the way, I frequently get errors when the IDE attempts to parse the xaml file for the visual designer. I just ignore it since I do everything in code. Does your app run?

 

....

 

I have the same versions of sl and the sdk. I think you need Tools for VS as well. I suggest you uninstall all silverlight stuff and reinstall in the right order. I had to do that several times before things worked.


Edited by jms bc, 18 July 2013 - 09:38 PM.

The Four Horsemen of Happiness have left.


#3 athono   Members   -  Reputation: 132

Like
0Likes
Like

Posted 19 July 2013 - 02:52 AM

This is with windows 7.

 

As a test, I opened Visual Studio 2010 on my home computer and made a test program with SIlverlight and it did not have this issue. Maybe it is because there is a problem with the Telerk plug-ins with the studio at work.



#4 PhillipHamlyn   Members   -  Reputation: 454

Like
0Likes
Like

Posted 20 July 2013 - 11:17 AM

athono,

 

I've used Silverlight for a couple of years now and only ever view the designs in XAML format - the design time WYSIWYG is very prone to failure unless your component design is really clear and without many dependencies.

 

You can turn off the WYSIWYG XAML editor in the Tools Settings of Visual Studio.

 

However; since you are creating  a brand new project in both cases, the suspicion that a Windows Update has caused the problem might easily be correct. Does the project actually compile, irrespective of the errors in the designer ?

 

Philip



#5 athono   Members   -  Reputation: 132

Like
0Likes
Like

Posted 24 July 2013 - 07:54 PM

Yes, the project compiles.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS