![](/img/trans.png)
[英]c# error The type or namespace name 'SampleMain' does not exist in the namespace
[英]How to fix "The type of namespace name "Fault" does not exist in the namespace" for gRPC and C#?
我已经定义了很多类型和方法(原始语言中的消息和服务)并被困在这个问题上。 有时,当我进行更改时,我会收到这个非常无用的错误消息。
The type of namespace name "Fault" does not exist in the namespace 'MyApp.MyDomain' (are you missing an assembly reference?)
我正在使用 Visual Studio 2017 并编译为 C#。
我遇到了这个,但在我的情况下,我有一个导入声明。 导入语句区分大小写。
"project/myClass/v1/ mytest .proto" => "project/myClass/v1/ myTest .proto"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.