Why Can't I see XAML in Design Mode?

Complete

OSNN Addict
Joined
25 Aug 2005
Messages
94
I have inherited source code from a project.

I am trying to decypher how it all fits together. It uses XAML. The problem is that when I open the XAML files, Visual Studio 2008 does not display it in Design Mode, and when it shows the file in text form, many of the elements seem to be undefined -- I mean, it is displayed with that red squigglie line unter the title of some of the XML tages -- like "UserDefined" and "Grid".

I thought that if I install Expression Blend, it will have these elements defined. But this did not work. Any ideas?

My first idea was that this was a Visual Studio 2008 issue and that it would work in the current Visual Studio 2010. But their are tabs that appear when I first open the XAML file for displaying the file graphically or as text. It defaults as text. But when I click to show it graphically, it shows an error window.

I am viewing this in Visual Studio 2008 and I am loading a solutions file when I view this.

But here is where it gets wierd. If I open the XAML file sepeately on another computer in Visual Studio 2010, it displays properly in Design mode. So what do I have on one computer that I am missing on the other one?

And, yeah, I have asked this question in one way or another other places.:p
 
What was the project developed in initially? Should work in the same environment - else you've shown that VS2010 has no problems, so I'd suggest using that to be honest.
 
The XAML code was designed first in Expression Blend. It seems to be the only way to view the XAML now. I think it must have something to do with the fact that the code used is C++ and not C#
 
The language used should be irrelevant. If its working in VS2010 use that.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back