As many of you have probably noticed, Visual Studio 2013 sometimes adds FontFamily="Global User Interface" to our XAML for no reason, often without us even noticing. Until this bug is fixed (I am assuming it is a bug, and I believe it has been
reported), something that I sometimes do is a search for the attribute to make sure it didn't sneak it's way in. However, it is a major pain to do this every time, and can easily be something I forget to do. What I would like to be able to do is
have Visual Studio 2013 check for this each time before building the project (and referenced projects). I know that there is some way to specify pre-build commands, but I have never known how to use them. This post is just a suggestion to anyone interested
to create a Visual Studio 2013 extension or set of pre-build commands to check for this unwanted code. It would be very useful to me (and probably many others) as a workaround until the bug is fixed.
Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/