在尝试在 Visual Studio 中构建最简单的 Metro 应用程序时,我收到十几个关于缺少程序集引用的错误(错误 WMC1003)。我刚刚从这里安装了 VS 11:http: //www.microsoft.com/download/en/details.aspx? displaylang=en&id=27543
任何和所有的帮助表示赞赏!以下是指定错误的构建输出的一部分:
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.Foundation'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Controls'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Markup'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media.Animation'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Media.Imaging'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Data'
1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Window Runtime Reference Assembly is missing: 'Windows.UI.Xaml.Documents'