Visual studio Visual Studio 11缺少程序集引用

Visual studio Visual Studio 11缺少程序集引用,visual-studio,assembly-references,visual-studio-2012,Visual Studio,Assembly References,Visual Studio 2012,在尝试在VisualStudio中构建最简单的Metro应用程序时,我遇到了十几个关于缺少程序集引用的错误(错误WMC1003)。我刚从这里安装了VS 11: 感谢您的任何帮助! 以下是生成输出中指定错误的部分: 1>C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v1.0\Microsoft.Windows.UI.Xaml.Common.targets(95,9): XamlCompiler error WMC1003: Wind

在尝试在VisualStudio中构建最简单的Metro应用程序时,我遇到了十几个关于缺少程序集引用的错误(错误WMC1003)。我刚从这里安装了VS 11:

感谢您的任何帮助! 以下是生成输出中指定错误的部分:

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'

您只能在Windows 8上构建Metro应用程序。你在用这个吗

如果没有,请下载安装了VS 2011的Windows 8开发者预览版

编辑:来自下载链接的注释

为了开发Metro风格的应用程序,必须在Windows Developer Preview上安装Visual Studio 11 Developer Preview,并使用Developer tools English,64位。不支持在Windows 8的其他预览版本上开发Metro样式的应用程序

注2:

开发Windows Metro风格的应用程序

在BUILD中,开发Windows Metro风格应用程序的唯一平台是Windows Developer Preview with Developer tools English,64位(x64)。Metro风格开发工具的64位限制仅适用于BUILD。Visual Studio的32位版本将在未来的预发行版中支持Metro风格的开发

  • 这包括Visual Studio Express for Windows和Blend Developer
    预览以及从周五开始安装Windows SDK 将有权访问Visual Studio 11开发人员预览,请安装此 在Windows开发者工具预览中使用英语,64位

  • (x64)在任何其他系统上都不支持构建Metro样式的应用程序 图像

    注意:Visual Studio 11 Express for Windows Developer预览版 将无法单独下载


我正在使用win8,但是安装了VS的版本对于我的CD或USBOk来说太大了。下一个问题是,您下载了64位版本的Windows 8吗?再次阅读说明,我看到的不仅是64位版本,而且必须是“使用开发人员工具英语安装在开发人员预览中”。这意味着地铁的东西不起作用。