XAML Compiler

I'm trying to find the utility used to compile XAML into CAML and BAML. Basically, I'd like to be able to see what code is generated from an XAML file without having to use MSBuild to generate it all the time. I've read much earlier blog posts mentioning the use of ac, and then later xamlc, however I seem to not find any of those tools available. Is there any way to compile XAML without having to use MSBuild

Answer this question

XAML Compiler

  • Neax

    bump.

    btw. Are there plans for a XamlCodeProvider With that and some CodeDom trickery you might be able to runtime glue together xaml with some code bindings in another net language. Which would be awesome.. The flexibility of runtime xaml + compile time checking.

  • Sahil Jain

    I'd like an alternate tool because you can not compile xaml using an express edition without embedding it in a c# project.

    I know about about XamlReader, but it does not support using a x:Class, so I can't bind to statically compiled code.

  • Steve Billingsley

    Ok, got it. I've sent this information to the team for consideration.

  • manik

    Zhila:
    There is currently no other way than MSBuild to compile XAML. I'd like to know why you're looking for an alternate tool What is it about MSBuild that does not work for your scenario

    billyzelsnack:
    You can even now load a XAML file sans code, at runtime. Although, I am not sure I totally understand your scenario. Can you elaborate on what you want to achieve



  • Chinh Nguyen

    So, do we have a command line compiler to compile mixed (markup + code) xaml files now

  • XAML Compiler