Can I add .NET Standard libraries to PCL

陌路散爱 提交于 2019-11-28 11:39:13

问题


I have a Xamarin Forms app and using Visual Studio 2015.

1) Can I add to PCL .NET Standard libraries? Are there any issues with that?

2) Editing resx of a .NET Standard library crashes VS2015. Any workaround?


回答1:


You can add .Net standard libraries to PCLs, but only lower versions. It depends on your profile version, so you almost have to try it and see if it works.

You can add PCLs to .Net standard libraries, by setting a fallback to the PCL in your csproj file. You can read about it here: https://oren.codes/2017/04/23/using-xamarin-forms-with-net-standard-vs-2017-edition/



来源:https://stackoverflow.com/questions/45286656/can-i-add-net-standard-libraries-to-pcl

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