2day icon indicating copy to clipboard operation
2day copied to clipboard

Migrate from PCL to .Net Standard

Open japf opened this issue 8 years ago • 3 comments

Non-UWP projects are currently using PCL. It should be fairly easy to move to .Net Standard instead.

japf avatar Jan 14 '18 19:01 japf

So I started looking into this today. I didn't get very far before I ran into issue with some of the NuGet packages that don't support .Net Standard:

  • SQLite.Net.Core
  • SQLite.Net
  • WindowsAzure.MobileServices
  • MvvmCross.Core
  • MvvmCross.Console.Platform

There appears to be a beta version of a SQLite package that might work but I'm not familiar enough with the other packages to know if there are any alternatives.

It doesn't help that Microsoft doesn't provide an automatic way to migrate from PCL to .Net Standard. It appears that you need to delete the project and recreate it.

webOSpinn avatar Jan 18 '18 06:01 webOSpinn

I should add that I was targeting .Net Standard 1.2

webOSpinn avatar Jan 18 '18 06:01 webOSpinn

Ok, for MVVMCross it a left over. We should just remove the package. I created #3 for that.

For SQLite, we should try to get he version that now ships with Windows. See #5

For MobileServices, it needs further investigations...

japf avatar Jan 18 '18 07:01 japf