You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Brian Lachniet (JIRA)" <ji...@apache.org> on 2019/07/09 23:58:00 UTC

[jira] [Commented] (AVRO-2470) avrogen.dll for C# .NET Core not useable!

    [ https://issues.apache.org/jira/browse/AVRO-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881615#comment-16881615 ] 

Brian Lachniet commented on AVRO-2470:
--------------------------------------

I believe that AVRO-2422 resolves this issue. AVRO-2422 is slated for v1.9.1.

The suggested path for usage going forward is going to be to install this as a [.NET Core Global Tool|https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools]. However, I believe we will still have a proper "published" artifacts for download as well.

I'm going to push a pre-release package with the AVRO-2422 fixes to NuGet.org. Once that's up there, I'll let you know so that you can try it out, if you want.

I will also update the C# README with instructions for installing avrogen as a .NET Core Global Tool.

> avrogen.dll for C# .NET Core not useable!
> -----------------------------------------
>
>                 Key: AVRO-2470
>                 URL: https://issues.apache.org/jira/browse/AVRO-2470
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp, dependencies, release
>    Affects Versions: 1.9.0
>         Environment: * Windows 7 x64 Pro
>  * Visual Studio 2017 Community Edition
>  * from here [#[http://apache.lauf-forum.at/avro/avro-1.9.0/csharp/avro-csharp-1.9.0.tar.gz]AVRO]
>            Reporter: Lutz Mahle
>            Assignee: Brian Lachniet
>            Priority: Blocker
>             Fix For: 1.9.0
>
>
> Latest download for avrogen for C# as a .NET Core application is not executable in case of missing dependencies.
> There is no description, how to run or fix this issue.
> This happens after do a install of NewtonSoft.Json 3.8.5 in Visual Studio and copied from NuGet-cache into directoy includes avrogen.dll manually:
> {code:java}
> // ...>dotnet avrogen.dll -s avro-jsonfile.avpr codegeneration
> Error:
>   An assembly specified in the application dependencies manifest (avrogen.deps.json) was not found:
>     package: 'System.CodeDom', version: '4.4.0'
>     path: 'lib/netstandard2.0/System.CodeDom.dll'
> {code}
> Please make a "Standalone" download for direct usage as avrogen.exe (Selfcontaining Executable) or batch file for installing dependencies.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)