Rob Relyea


Wpf Xaml Namespace Update Tool for Feb2006 CTP

When we ship the Feb 2006 CTP, there are a few changes that will need to be done to all xaml files.

We've created a tool to help upgrade your WPF XAML files to the Feb CTP.  It doesn't do an exhaustive upgrade, but it does handle the following major changes:

  • Change all xmlns uris of to
  • Change all xmlns uris of to
  • Replaces all mapping PIs with the new clr-namespace uri syntax:
    • Old Syntax 1
      • <?Mapping ClrNamespace="MyNS" XmlNamespace="other" Assembly="MyAssembly" ?>
      • <Page ... xmlns:foo="other">
    • Replacement Syntax 1
      • <Page ... xmlns:foo="clr-namespace:MyNS;assembly=MyAssembly">
    • Old Syntax 2
      • <?Mapping ClrNamespace="MyNS" XmlNamespace="local" ?>
      • <Page ... xmlns:foo="local">
    • Replacement Syntax 2
      • <Page ... xmlns:foo="clr-namespace:MyNS">
  • Ensure all RowDefintion and ColumnDefinition elements are not direct children of Grid.  They must be in a Grid.RowDefinitions or Grid.ColumnDefinitions property element.

Note: don't do this until the FebCTP is out...Those URIs won't work in the Jan CTP.

To download this tool, please see:

Posted on Feb 14 2006, 07:12 PM by rrelyea
Filed under: ,


  • jfo's coding said:
    I thought I'd put up a few good reads:

    Mapping PIs are going away in the next CTP. Rob promises to...
    February 14, 2006 11:14 PM
  • February 15, 2006 7:24 AM
  • Rob Relyea's [1] blog is worth knowing about if you're interested in Windows Presentation Foundation...
    February 17, 2006 6:26 PM
  • February 18, 2006 7:02 AM
  • February 22, 2006 11:50 AM
  • Tim Sneath said:
    This is intended as a quick guide to the major breaking changes that will affect Windows Presentation...
    February 23, 2006 8:30 AM
  • If you'd like an easy way to update your XAML files to work with the recently-released February CTP of...
    February 23, 2006 3:35 PM
  • July 6, 2006 1:01 PM
  • As website related subjects continue to gain in popularity, there will be many more places to learn more about this significant topic.

    September 11, 2007 12:44 PM