Search code examples
protobuf-net.net-standard-2.0

protobuf-net 2.4.0 for .NET Standard 2.0 not fully compatible


I built the protobuf-net 2.4.0 project for .Net Standard 2.0 but the portability-analyzer tool shows only 92% of compatibility because of the below details.

enter image description here

Questions are:

  1. Can I use it in every .NETCore, .NETFramework, and .NET projects anyway? (I already found this and this posts, but with the test just described I'd like to be sure it's so)
  2. Is there a protobuf-net version fully compatible with .Net Standard 2.0?

Solution

  • It is, confusingly, impossible to talk about compatibility with .NET Standard, unless you mean "lowest common denominator", which: most people don't. What matters is what you actually run it on. You mention .NET Framework and .NET Core - and it should.work just fine there. If you were using it on Unity or Xamarin (mobile etc), the answer is more complicated.