Typically this is making sure that the “CustomTool” of the .xaml file says “MSBuild:CompileXaml

Thank Shawn Wildermuth for posting at: http://forums.silverlight.net/forums/p/9218/29127.aspx