Visual Studio 11 metro apps unable to add referenc

2019-08-01 13:50发布

问题:

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).