Search code examples
.net.net-corestandard-library

.Net Standard or Portable Class Library moving forward?


I am writing a Portable Class Library(PCL) in my Xamarin platform and expecting to reuse that in UWP and .Net Core platform. So instead of writing as Portable class library (PCL), I should write as Standard Class Library ? So current version of Standard Library with VS2017 is 2.0 ?


Solution

  • Use .NET Standard; it is compatible with a wide range of frameworks - see compatibility grid. The current version used by VS2017 is 1.6, but you can target earlier versions of .NET Standard to support earlier versions of various frameworks.