没有xamarin.forms BlankApp在视觉工作室2017年

Hyd*_*han 6 c# cross-platform xamarin visual-studio-2017

我刚刚安装了Visual Studio 2017社区.此外,我已经安装了Xamarin社区版.最初我认为我必须使用Xamarin Studio来创建跨平台应用程序.但后来,我从互联网上发现Xamarin Studio只安装在MAC OS中.在Windows中,Xamarin以Visual Studio的扩展名的形式安装.在我的Windows 10上完全安装Xamarin后,我打开了Visual Studio,我没有在Visual C#/跨平台选项卡下看到"BlankApp(Xamarin.Forms Portable)".相反,那里只有几个类库和一个UI测试应用程序.

我怎样才能在我的visual studio 2017社区版上找到创建Xamarin Cross-Platform的方法?我错过了一些扩展,还是需要更新?请帮忙.

Joe*_*aly 8

文件>新建>项目>已安装>模板> Visual C#>跨平台选择跨平台选择跨平台应用程序(Xamarin.Forms或Native)

在此输入图像描述

新应用程序对话框打开对于模板选择"空白应用程序"进行代码共享策略选择"可移植类库(PCL)"单击确定,你很高兴去

在此输入图像描述

  • 新东西现在是.NET Standard.它取代了PCL. (2认同)