Search Wiki:

Microsoft XAML Toolkit CTP - July 2010

Download Page

  • Microsoft.Xaml.Tools.dll - XamlDom, Silverlight helper
  • Microsoft.Xaml.Tools.FxCop.dll - XAML FxCop integration
  • Microsoft.Xaml.Tools.Silverlight.dll - Silverlight XamlSchemaContext

What's new in the Microsoft XAML Toolkit CTP - July 2010 release?
  • The UISchemaContext has been removed.
  • The SilverlightSchemaContext now supports Silverlight Version 3.0, 4.0 and Phone 7.
  • A SilverlightAssemblyHelper static class has been added to help with loading the correct Silverlight schema version.
  • License terms permit usage in live operating environments (with some restrictions) and distribution of the toolkit binaries. Please see the Microsoft XAML Toolkit License Terms for full details.


You may be interested in the following resources:

Installation and Usage Instructions

  • Microsoft .NET Framework 4
  • Microsoft FxCop 1.36 (If you use the XAML FxCop features)
    • You will need to update the fxcop.exe.config.  See below.
  • Extract the contents to C:\Program Files\Microsoft XAML Toolkit or your preferred location.

Running XAML FxCop:
  • Install FxCop 1.36 or FxCop 10 (Read the requirements to choose which version)
  • For FxCop 1.36, Copy the FxCop.exe.config to C:\Program Files\Microsoft FxCop 1.36\ to make it run against .NET 4.
    • If you have a custom FxCop.exe.config, please add the following inside the Configuration section of the .exe.config
                                        <supportedRuntime version="v4.0"/>
  • In FxCop, add your WPF or Silverlight Assemblies as 'Targets'.
  • Add Microsoft.Xaml.Tools.FxCop.dll as 'Rules'.
You can also write custom XAML rules that derive from the BaseXamlRule
Last edited Aug 3 2010 at 4:11 AM  by jennile, version 6
indranilatcal wrote  Jun 9 2011 at 1:30 PM  
I followed the steps to add the FxCop rules and target assemblies, but when I run them, I get the following error for all the rules:
"Could not find System.Windows.Markup.NullExtension in Silverlight."
None of them report any validation output. Please provide some pointers around what can be going wrong.

indranilatcal wrote  Jun 9 2011 at 1:31 PM  
Can we get access to the source code for the XAML Toolkit anywhere?

Page view tracker