问题
The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. Google.Protobuf.Test
解决方式1
- 安装.net 2.1的版本
解决方式2
- 修改global.json中配置的.net版本
- 注:global.json一般在工程的根目录