Not appear Xamarin forms PCL projects in visual studio 2017 enterprise version 15.5.2

匿名 (未验证) 提交于 2019-12-03 02:29:01

问题:

I upgrade visual studio 2017 to version 15.5.2, when I create a new project of xamarin forms not show PCL (Portable Class Libraries) project that appear .net standard and Shared Projects.

I need to create some project PCL of xamarin forms, help me.

回答1:

Since a recent version the templates replace the PCL library with a .NET Standard library. And I suggest that you stick with it, as it will be the future.

You should be able to create a PCL library if you really want to and make it work. Also, as a workaround, you could create the project on Visual Studio for Mac. It doesn't have the updated templates (yet) and you will still be able to create the app with a PCL. Just copy that or commit it to source control and open it on Windows afterwards.



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