Support Unity netstandard21 - #1346
#1346Support Unity netstandard21#1346AArnott merged 5 commits intomasterMessagePack-CSharp/MessagePack-CSharp:masterfrom unity-netstandard21MessagePack-CSharp/MessagePack-CSharp:unity-netstandard21Copy head branch name to clipboard
Conversation
|
Oh, I'll contact my companie's build engineer to resolve it. |
|
Woot! I got the like so - - UNITYVERSION -equals 2019.1
+ - UNITYVERSION -equals 2020.3As the line to be changed was only just introduced in |
|
@AArnott |
|
@neuecc The build agent had shut down. I've restarted it and configured it to restart itself next time. |
|
@AArnott thanks, all builds passed. |
related to #1343
Latest unity adds .NET Standard 2.1 support, it causes some warnings.
Especially
HashCode's#if !NETCOREAPPdoes not work on Unity.If Unity targets
netstandard2.1, definesNET_STANDARD_2_0andNET_STANDARD.Unity that does not support
netstandard2.1will not defineNET_STANDARD.So we can use
NET_STANDARDto detectnetstandard2.1.Othes,
Tests.asmdefdefinesMsgPack.dll.