Serhii Almazov created AVRO-3265:
------------------------------------

             Summary: avrogen generates uncompilable code when namespace ends 
with ".Avro"
                 Key: AVRO-3265
                 URL: https://issues.apache.org/jira/browse/AVRO-3265
             Project: Apache Avro
          Issue Type: Bug
          Components: csharp
    Affects Versions: 1.11.0
         Environment: Using avrogen version 1.11.0:
{code:java}
dotnet tool install Apache.Avro.Tools --global 
You can invoke the tool using the following command: avrogen
Tool 'apache.avro.tools' (version '1.11.0') was successfully installed.


{code}
 
            Reporter: Serhii Almazov


See reproduction repo: [https://github.com/almazik/avrogen-bug-repro]

When the C# namespace ends with ".Avro", the generated code is uncompilable due 
to the namespace naming collision.

The generated code should prefix "Avro." namespace declarations with "global::" 
prefix

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to