deniszykov / msgpack-unity3d

MessagePack and JSON serializer for Unity3D
MIT License
103 stars 14 forks source link

.NET Standard 2.0 #22

Open Janry opened 5 years ago

Janry commented 5 years ago

Hi. How about make a project with .NET Standard 2.0? To use this package to create another nuget package.

deniszykov commented 5 years ago

Hi @Janry, I can make it multi-target. But I recommend to use any other Message Pack or JSON serializers for .NET and .NET Core projects because this one is made for Unity (ancient .NET 3.5) and for restricted environments (iOS, WebGL) so many possible performance optimizations are not-available.

Janry commented 5 years ago

Thanks for the answer. We use one protocol project. Client-side is Unity and server-side .net framework 3.5.

deniszykov commented 5 years ago

Hi @Janry! I have updated package to target multiple platforms.

Janry commented 5 years ago

Hi, @deniszykov. Yes, I saw. Thank you. Can you tell what target in nuget has AotRuntime = true in MetadataReflection class?

deniszykov commented 5 years ago

@Janry None, AotRuntime is evaluated in runtime.