TFS Build Silverlight项目的两个问题
1、The Silverlight 4 SDK is not installed.
打开对应的Build Definition,Process -> Advanced -> MSBuild Platform,设置:X86
2、使用Silverlight Toolkit在xaml上出现类似如下错误:
The property 'ContextMenu' does not exist on the type 'Grid' in the XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit'.
打开对应的Build Definition,Process -> Advanced -> MSBuild Arguments,设置:/p:ValidateXaml=false