Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No PCL option for Xamarin project

I'm just getting into Xamarin Forms based app development and most of the articles -- if not all -- that I've come across suggest I create a new Xamarin Forms project using Portable Class Library (PCL) approach.

I'm running the latest version of Visual Studio 2017 15.5.1 and when I start a new Xamarin Forms project, I get the following screen with no PCL option.

enter image description here

Am I missing something?

like image 367
Sam Avatar asked Dec 11 '17 03:12

Sam


People also ask

What is PCL project in xamarin?

PCL projects target specific profiles that support a known set of BCL classes/features.

How do I create a shared project?

Creating a Shared Project To create a new Shared Project, navigate to File > New > Project. In Visual Studio 2019, enter shared in the search box on the Create a new project page. Select the Shared Project template and then select Next. Enter a name for the project, and then select Create.

What is PCL C#?

Portable Library Tools is a new Visual Studio add-in from Microsoft that enables you to create C# and Visual Basic libraries that run on a variety of . NET-based platforms without recompilation.


1 Answers

You Can Select .Net Standard. it is Replacement of PCL.

NET Standard is a formal specification of .NET APIs that are intended to be available on all .NET runtimes (such as .NET Framework, Mono, and .NET Core)

For More Details Please visit : https://blog.xamarin.com/building-xamarin-forms-apps-net-standard/

like image 119
Nitish Gawde Avatar answered Sep 19 '22 20:09

Nitish Gawde