我需要.NET Core 2.0上的Google协议缓冲区。我知道.NET Core 2.0上没有Google Proto Buffer实现官方,但是Protobuf-net可以移植到.NET Core 2.0吗?
我自己尝试移植它,然后看到库使用appdomain.currentdomain.definedynemicaSsemassembly,它尚未移植到.net core。
另外,.NET WebApicontroller如何使用Google协议缓冲区?
nuget上的Protobuf-net已经支持净标准1.3及更高版本,其中包括您需要的内容。使用Protobuf-net,您无需采取任何行动。