Please include an e-mail address if this might need a dialogue!
==============
vbaddicts@gmail.com
What steps will reproduce the problem?
1. Write any simple proto file with a service
2. Compile the proto file with the output as VB.NET
3.
What is the expected output? What do you see instead?
A VB.NET syntax, but instead incorrectly generates the interface in C# syntax
What version of the product are you using? On what operating system?
the latest build
Please provide any additional information below.
This is the .proto file:
[code]
message ConnectionRequest {
enum ProtocolType {
TEST_PROTOCOL = 0;
}
required ProtocolType protocol = 1;
}
message ConnectionResponse {
message Response {
optional bool protocol_ok = 1;
}
required Response response = 2;
}
service ConnectionService {
rpc Connect (ConnectionRequest) returns (ConnectionResponse);
}
[/code]
This is the code output that has the problem:
[code]
Public Interface IConnectionServiceConnectionResponse Connect(ConnectionRequest request);
End Interface
[code]
this is the only incorrect output i see syntax wise (that is highlighted by the
intellisense). there could be more indepth problems that relate to how its
generated but I haven't tested yet. I have fixed the interface declaration by
hand via changing it to this:
[code]
Public Interface IConnectionService
Public Function Connect(ByVal request as ConnectionRequest) as ConnectionResponse
End Interface
[/code]
Original issue reported on code.google.com by vbaddi...@gmail.com on 4 Aug 2012 at 5:28
Original issue reported on code.google.com by
vbaddi...@gmail.com
on 4 Aug 2012 at 5:28