如上图,
Apache Thrift问题
cmd 执行命令 :thrift --gen csharp demo.thrift 后的.cs文件报错
就以上两个 。
错误提示是:“TProtocol”不包含“IncrementRecursionDepth”的定义。
“TProtocol”不包含“DecrementRecursionDepth”的定义。
这个要怎么改?
https://blog.csdn.net/ceasadan/article/details/52318585
你编译生成的thrift版本和nuget引用的thrift版本不一致引起的。确保一致就好了。