首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Protoc C# Google助手.proto“没有找到或有错误”

Protoc C# Google助手.proto“没有找到或有错误”
EN

Stack Overflow用户
提问于 2017-05-16 23:42:40
回答 1查看 2.5K关注 0票数 1

我想使用gRPC与进行通信。我下载了embedded_assistant.proto并在CMD中运行了这个命令:

代码语言:javascript
复制
protoc -I=I:"\PC Folders\Downloads\proto3.3.0win32\bin" --csharp_out=$DST_DIR "I:\PC Folders\Downloads\proto3.3.0win32\bin\embedded_assistant.proto"

然后它给了我这些错误:

google/api/notations.proto:文件找不到。found :文件找不到。embedded_assistant.proto:导入“google/api/notations.proto”没有找到或有错误。embedded_assistant.proto:未找到导入"google/rpc/status.proto“或出现错误。embedded_assistant.proto:270:5:未定义"google.rpc.Status“。

我怎么才能解决这个问题?我使用了这个proto编译器:https://github.com/google/protobuf/releases,在底部它写的是Proc-3.3.0-win32.zip。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-05-19 04:51:41

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44013299

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档