简体   繁体   English

Windows 8.1通用应用程序参考

[英]Windows 8.1 Universal App References

I have a windows 8.1 universal app. 我有一个Windows 8.1通用应用程序。 One part is desktop/tablet app and one is Windows phone. 一部分是桌面/平板电脑应用程序,一部分是Windows手机。

I have been downloading all external libraries via nugget into the Windows 8.1 and now my Windows Phone doesn't recognize it. 我已经通过nugget将所有外部库下载到Windows 8.1中,现在我的Windows Phone无法识别它。

How can i reference it all under one "umbrella" or point the Windows Phone reference folder towards references in windows 8.1? 如何在一个“伞”下引用它或将Windows Phone参考文件夹指向Windows 8.1中的引用?

If I understand it correctly. 如果我理解正确的话。 you added some Nuget packages to the Windows project and you have code in your Shared project that uses them, so the app does not build for Windows Phone. 您在Windows项目中添加了一些Nuget包,并且您的共享项目中有使用它们的代码,因此该应用程序不适用于Windows Phone。

The solution is to add the same Nuget packages to your Windows Phone project. 解决方案是将相同的Nuget包添加到Windows Phone项目中。

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

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