Visual Studio 11 metro应用程序无法添加引用?

时间:2012-02-26 10:42:40

标签: visual-studio .net-4.5 visual-studio-2012

我已经安装了Windows 8和Visual Studio 11来开发metro风格的应用程序。但每次我尝试创建Metro应用程序项目时,项目都会被创建,但在参考文献中没有添加任何东西,但项目构建成功,甚至不允许我添加任何引用dll。

enter image description here

enter image description here

enter image description here

2 个答案:

答案 0 :(得分:9)

你在添加什么引用? Metro风格应用程序只能添加对其他Metro风格类库或可移植类库的引用。

答案 1 :(得分:0)

Metro风格应用程序以.NETCore框架为目标,如果依赖解决方案基于.NetFramework,则不能在Metro风格的应用程序中使用。目前,您无法在.NETCore上重建.NETFramework库,因为它具有有限的访问权限(仅适用于Windows应用商店应用)。