一、xml反序列化失败
[XmlAttribute("Compressed")] 改成 [XmlElement("Compressed")]
二、Unable to find kernel32.dll
api compatibility level
三、SslStream ssl_stream = new SslStream 失败
NotSupportedException: Could not find TLS Provider: `Mono.AppleTls.AppleTlsProvider'.
at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) (at <29f77733112e45758bddddda41557ba4>:0)
at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () (at <29f77733112e45758bddddda41557ba4>:0)
at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () (at <29f77733112e45758bddddda41557ba4>:0)
at Rethrow as NotSupportedException: TLS Support not available.
在Asset目录下新建link.xml 文件
<linker>
<assembly fullname="System">
<type fullname="Mono.Net.Security.LegacyTlsProvider" preserve="all" />
</assembly>
</linker>