如何在 Visual Studio 2019 中创建 xamarin PCL 项目

如何在 Visual Studio 2019 中创建 xamarin PCL 项目

问题描述:

在 VS 2019 中创建新的 xamarin 项目时,我没有选择 PCL 项目.

I am not having option for PCL Project while Creating new xamarin project in VS 2019.

我得到了如图所示的选项

I am getting option as shown in image

我运行旧的 PCL 项目,它运行成功.

I run old PCL Project, It is running successfully.

请帮我在 VS 2019 中创建 PCL 项目.

Please help me to create PCL Project in VS 2019.

  • 可移植类库 (PCL) 在最新版本的 Visual Studio 中弃用.
  • 您仍然可以打开、编辑和编译 PCL
  • 对于新项目,建议使用 .NET Standard 库访问更大的 API 表面积.
    • Portable Class Libraries (PCLs) are deprecated in the latest versions of Visual Studio.
    • you can still open, edit, and compile PCLs
    • For new projects it is recommended to use .NET Standard libraries to access a larger API surface area.
    • 更多详情请参考以下链接:PCL

      For more details please refer below link: PCL