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

Pavel Tupitsyn edited comment on IGNITE-7473 at 1/19/18 1:02 PM:
-----------------------------------------------------------------

Looks like there is no way to fix this issue in code. Core CLR attempts to load 
that assembly right at the start, not lazily. No code is executed before that.
See https://github.com/dotnet/standard/issues/506.


was (Author: ptupitsyn):
Looks like there is no way to fix this issue in code. Core CLR attempts to load 
that assembly right at the start.
See https://github.com/dotnet/standard/issues/506.

> .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