AugustoAngeletti / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Interfaces generated from services don't build when using fixCase #158

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a service in a .proto along with some messages that the service use 
in a package "company.test"
2. Enable fixCase and compile it to C#

What is the expected output? What do you see instead?

The .cs file generated should build with "company.test" converted to 
"Company.Test".

The conversion correctly occurs but the interface generated from the service 
reference elements in a namespace named "company.test".

What version of the product are you using? On what operating system?

"NET3" from "protobuf-net r282.zip" on Windows 7 x64. The problem was tested 
directly on protobuf-net and using the Visual Studio 2010 Custom Tool.

Original issue reported on code.google.com by jroncagl...@gmail.com on 3 Mar 2011 at 9:04

GoogleCodeExporter commented 9 years ago
In case someone got the same problem here is the patch to the csharp.xslt file.

Original comment by jroncagl...@gmail.com on 3 Mar 2011 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
PS: Revisions in my last comment don't match the ones in the protobuf-net svn 
as it came from an internal repository (sorry).

Original comment by jroncagl...@gmail.com on 3 Mar 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Thanks; I'll look at merging this fix when I next release

Original comment by marc.gravell on 3 Mar 2011 at 10:51