Enabling -p:protoRpc parameter in ProtocGen tool generates code that is
referring to unknown class ProtoBuf.ServiceModel.RpcClient.
Steps to reproduce:
1) define service in .proto file, e.g.
service DaemonService
{
rpc DoHello (HelloRequest) returns (BaseResponse);
}
2) generate .cs with -p:protoRpc parameter
3) following class is generated
public class DaemonServiceClient : global::ProtoBuf.ServiceModel.RpcClient
{
public DaemonServiceClient() : base(typeof(ICirrusDaemonService)) { }
BaseResponse DoHello(HelloRequest request)
{
return (BaseResponse) Send(@"DoHello", request);
}
}
Original issue reported on code.google.com by rusl...@gmail.com on 30 Jul 2010 at 11:18
Original issue reported on code.google.com by
rusl...@gmail.com
on 30 Jul 2010 at 11:18