Skip to content

Instantly share code, notes, and snippets.

@jamesmontemagno jamesmontemagno/info.md
Last active Mar 20, 2018

Embed
What would you like to do?
Updating PCL to .NET Standard

The goal here is to convert your PCL projects to .NET Standard projects and not lose any Git history. The key is to trick Git a bit by simply creating a new library, copy files into it, delete the old PCL library, and then rename the folder and project to the original PCL name.

6 Steps to Converting your PCL Library to .NET Standard

  1. Create new .NET Standard Library targeting 2.0 and name it NAME.Standard
  2. Copy all files from PCL to .NET Standard Library
  3. Delete PCL library and Delete the folder
  4. Rename the .NET Standard Libary to the PCL's old name and rename the folder
  5. Re-install all NuGets
  6. Add references back
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.