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

Pavel Tupitsyn commented on IGNITE-7473:
----------------------------------------

Weakening generic constraint to {{class}} fixed the issue.

Merged to master: {{0088405ce305a915174c53bcafcc9a1740da64c7}}.
Cherry-picked to ignite-2.4: {{aca3b8c664de8dcbbfeabbb0f8c252194d6ad1b2}}.

> .NET: "Could not load file or assembly ConfigurationManager" error on Linux
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-7473
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7473
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET, xplat
>             Fix For: 2.4
>
>
> Steps to reproduce:
> {code}
> dotnet new console
> dotnet add package Apache.Ignite
> nano Program.cs  # Add Ignition.Start() line and a namespace import
> dotnet run
> {code}
> Error:
> {code}
> Unhandled Exception: System.IO.FileNotFoundException: Could not load file or 
> assembly 'System.Configuration.ConfigurationManager, Version=0.0.0.0, 
> Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the 
> file specified.
> {code}
> Works on Windows, does not work on Linux.
> {{<PackageReference Include="System.Configuration.ConfigurationManager" 
> Version="4.4.0" />}} is required to fix the issue.
> However, {{ConfigurationManager}} is not necessary for code configuration, we 
> should be able to start without it.



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

Reply via email to