I'm interested in creating custom rules for Code Analysis (Visual Studio 2010
and above) which target the XAML specifically.
I've read about creating custom rules and even about FXCop + XAML Toolkit, but the later is now archived and doesn't support latest versions of FXCop (i.e. the version that Code Analysis works with). I've also looked at other tools such as NDepend but it doesn't seem to support this either.
An example for a custom rule I'd like to make: Make sure no elements in the XAML have the Width property set to a constant.
Any ideas on how to do this in VS 2012/VS 2013
(any external tool that integrates with Visual studio is also an option)?