baml

How can I use NAnt to compile WPF controls

I have a WPF project and I'm trying to setup a NAnt build script for it. The problem is that when it tries to compile the WPF controls, the .g.cs files are not being generated as they are when building from within Visual Studio. I'm using the csc build task. From my reading it seems that when Visual Studio builds, it performs a pre-buil...

BAML Decompiler / Viewer

Could anyone recommend a good BAML Decompiler / Viewer besides BAML Viewer plugin for Reflector, which doesn't handle path geometry/data? ...

Localizing a WinForms Application with Embedded WPF User Controls

The application I'm trying to localize is a WinForms application that has a few hosted WPF user controls (WPF user controls hosted in an ElementHost WinForms control). I use resx files to localize the WinForms, which VS2008 manages quite well. The problem starts when I try to use the LocBaml method to localize the WPF parts. Here's wh...

BAML obfuscation

Is there any tool / commercial obfuscator that can obfuscate BAML resources in WPF controls? If not, its a tough time in terms of IP protection sicne hackers can easily peek into the BAML resource by using BAML to XAML converters. ...

XAML to C# conversion tool

Is there a XAML to C# conversion tool? I have a control template defined in XAML, but I want to create this template and it's styles using C#, so I can obfuscate the code version (since I can't obfuscate the XAML/BAML). ...

Why XAML is compiled into BAML and not in C#

As far as I know, everything done in XAML can be done in C#. Why XAML is compiled in BAML and not in C# ? Wouldn't be more efficient to parse the XAML a compile-time and create the corresponding C# code ? ...

Manage localization with Baml

Hi guys, I'm developping a little application in WPF and I want to localize my resources. I've always used resources files (.resx), but I heard about BAML that was suppose to change the way of manage localization in a WPF application. I made my research and I found a way to translate my application using those files. I wrote a blog ...

How much slower is dynamically loading XAML versus a compiled WPF app

i am trying to find a good document to understand the performance differences and whats happening under the hood when comparing a compiled WFP windows app versus trying to load XAML dynamically. any suggestions ? ...

How to convert an assemblies BAML to XAML?

How do I walk through an assemblies BAML resources and convert them back to XAML? ...