youalibala / protobuf-net

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

global:: prefix forgot when generate field and property #440

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Complex type should be generated with prefix global::.

What steps will reproduce the problem?
1. define a message named same with package name.
2. define other messages use the message above.
3. generate proto file and C# code will build fail.

ProtoGen version is protobuf-net r668. (as issue #427)
runtime from NuGet is protobuf-net.2.0.0.668.
VS2012.4

Original issue reported on code.google.com by miaoda...@gmail.com on 15 Apr 2014 at 3:09