question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch From PCLs to .NET Standard

See original GitHub issue

Summary

Microsoft has officially deprecated Portable Class Libraries, which is what Duality is based on with regard to portability. Projects still compile just fine and will for the foreseeable future, but it will get progressively harder and less intuitive to keep things working and expanding on it. Consider switching all PCL projects to .NET Standard for v3.0.

Analysis

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:40 (32 by maintainers)

github_iconTop GitHub Comments

2reactions
ilexpcommented, Nov 5, 2018

Some MS docs on multi-targeting platforms with .NET Standard: https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/cross-platform-targeting

One point to note is that they explicitly recommend not targeting any 1.x standard version unless there is a specific older platform that would otherwise be unsupported. Might be worth it to reconsider the 1.x target after verifying exactly which platforms and potential future platforms would be affected.

1reaction
Barsonaxcommented, Jul 28, 2019

Fix the broken Canvas rendering unit test that was mentioned in the chat after recent updates to the netstandard feature branch.

This was broken while attempting to migrate to the new csproj format to clean up the nuget packages and make that more consistent. I decided to do it since all the plugin projects are already migrated now. Its not strictly neccessary. Since it turned out to be more complex than anticipated it might be better to do this later (and create a separate issue about it).

Made a issue for this: https://github.com/AdamsLair/duality/issues/737 We should tackle that issue after we complete this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Convert a PCL Library to .NET Standard and Keep ...
It is time to convert those old PCL libraries to new .NET Standard libraries! It is so easy to do and takes only...
Read more >
Converting PCL (Portable Class Libraries) to .NET ...
1) Go to the original folder of your PCL project. · 2) Open Visual Studio 2017 and create a new solution/project by choosing...
Read more >
Converting Portable Class Libraries (PCL) to .NET Standard ...
It is time to convert those old PCL libraries to new . NET Standard libraries! It is so easy to do and takes...
Read more >
Upgrade PCL to .NET Standard Class Library
Upgrade PCL to .NET Standard Class Library · Delete your packages. · Right click, and press Unload Project · Right click, and press...
Read more >
How to convert a PCL (Portable) project to NetStandard
The first step was, of course, opening the project in Visual Studio 2017. If you are on an older VS version, you should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found