So I have a PCL project but would like to now update it to support .Net Standard
I have read on the Microsoft website steps to do this:
- Right-click on the project file and select Properties.
- Under Library, select Target .NET Platform Standard.
But this button does not exist in the latest version of Visual Studio 2017.
I have also read here:
- Close the solution in VS
- Take the existing csproj and make a copy of it somewhere else. I’ll keep this other copy open in Notepad.
- Copy/paste the contents of the new project you created and replace the contents of your existing project. Most of what you had in the old project isn’t really needed anymore. What you’ll likely need are settings like any signing or assembly names that don’t match the folder name/conventions. If you have ResX files with design-time generated code, you’ll need to add the following. Likewise, for Xamarin Forms pages, you’ll need this.
But I don't understand the steps highlighted above as I have loads of nuget packages and ResX files so always causes build errors when I try
So are there any straight forward steps to updating a PCL project to a .NetStandrard one?
PackageReference
– Elwin