Silverlight XAML loading fails right out of the gate.

Started by
3 comments, last by athono 10 years, 8 months ago

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?

Advertisement

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.

The Four Horsemen of Happiness have left.

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.

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

Yes, the project compiles.

This topic is closed to new replies.

Advertisement