Windows Vista Forums

Loose XAML

  1. #1


    swoods80@gmail.com Guest

    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

  2. #2


    keboyd@online.microsoft.com Guest

    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

Loose XAML

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to include XAML files into another XAML file? star-italia .NET General 6 12 Jun 2008
Interpreter demo loading "loose Xaml" interface pfisk Avalon 0 06 May 2006
Interpreter demo loading "loose Xaml" interface pfisk Avalon 0 06 May 2006
Interpreter demo loading "loose Xaml" interface. pfisk Avalon 0 06 May 2006
Interpreter demo using "loose" Xaml in IE7 pfisk Avalon 0 06 May 2006