Visual Studio 11 metro apps unable to add reference?

梦想的初衷 提交于 2020-01-15 11:11:28

问题


I have installed Windows 8 and Visual Studio 11 to develop metro style apps. 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.


回答1:


What are you adding a reference to? Metro style apps can only add references to other Metro style class libraries or portable class libraries.




回答2:


Metro style applications targets .NETCore framework if dependent solution is built on .NetFramework it can't be used in Metro style apps. For now you cannot rebuild your .NETFramework libraries on .NETCore because it has limited access(only for Windows Store apps).



来源:https://stackoverflow.com/questions/9452444/visual-studio-11-metro-apps-unable-to-add-reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!