Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Loose XAML

 
 
Old 06-09-2006   #1 (permalink)
swoods80@gmail.com


 
 

Loose XAML

I have tried to run a XAML application standalone with little success.
If I have a very simple app with just a button it renders correctly.
However if I use something like a stack panel I get errors. Is "loose"
XAML supported? Is it true that you can not add code to the XAML file
and have it run in the browser as a loose application?

Thanks for the help


My System SpecsSystem Spec
Old 06-09-2006   #2 (permalink)
keboyd@online.microsoft.com


 
 

re: Loose XAML

Loose XAML is indeed supported; but in order to have any code you must use a compiled application. So if you're example using a StackPanel has any inline code references, it will not parse correctly, and you'd need to recompile. If you need to deploy a web based XAML Application, check the http://windowssdk.msdn.microsoft.com site for information on XBAP applications.

If your StackPanel example has no code in it, I'm guessing that it's malformed. If you want to post it to the newsgroup I'd be happy to look at it. Alternately, cut and paste it into XAMLPad and see if it renders. If it doesn't (and it shouldn't, based on your post) you'll see the parse error in XAMLPad and should be able to fix it.

Good luck.

Keith Boyd [msft]

-----Original Message-----
From: swoods80@gmail.com
Posted At: Friday, June 09, 2006 10:25 AM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Loose XAML
Subject: Loose XAML



I have tried to run a XAML application standalone with little success.
If I have a very simple app with just a button it renders correctly.
However if I use something like a stack panel I get errors. Is "loose"
XAML supported? Is it true that you can not add code to the XAML file and have it run in the browser as a loose application?

Thanks for the help
My System SpecsSystem Spec
 

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46