简体   繁体   English

Visual Studio 11 Metro应用程序无法添加参考?

[英]Visual Studio 11 metro apps unable to add reference?

I have installed Windows 8 and Visual Studio 11 to develop metro style apps. 我已安装Windows 8和Visual Studio 11来开发Metro风格的应用程序。 But each time i try to create Metro app project the projects get created but in reference there is nothing added but the project builds successfully and even its not allowing me to add any reference dll. 但是,每次我尝试创建Metro应用程序项目时,都会创建项目,但是在引用中没有添加任何内容,但是该项目成功构建,甚至不允许我添加任何参考dll。

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

What are you adding a reference to? 您要添加什么参考? Metro style apps can only add references to other Metro style class libraries or portable class libraries. Metro风格的应用程序只能添加对其他Metro风格的类库或可移植类库的引用。

Metro style applications targets .NETCore framework if dependent solution is built on .NetFramework it can't be used in Metro style apps. 如果从属解决方案基于.NetFramework构建,则Metro风格应用程序将针对.NETCore框架,但不能在Metro风格应用程序中使用。 For now you cannot rebuild your .NETFramework libraries on .NETCore because it has limited access(only for Windows Store apps). 目前,您无法在.NETCore上重建.NETFramework库,因为它具有受限的访问权限(仅适用于Windows Store应用程序)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM