[jira] [Created] (IGNITE-7473) .NET: "Could not load file or assembly ConfigurationManager" error on Linux

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7473) .NET: "Could not load file or assembly ConfigurationManager" error on Linux

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-7473:
--------------------------------------

             Summary: .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
             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)