New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly 'System.Configuration.ConfigurationManager #34
Comments
Same problem! Listening in... |
.netcore does seem able to use
|
I'm having this same issue with .netcore 2.0 at runtime. I'm getting an error |
I fixed the problem I had. I was using the libraries that used System.Configuration.ConfigurationManager in another solution. When I used NuGet to add the System.Configuration.ConfigurationManager in the solution that called these other libraries it worked. |
Installing Nuget package for System.Configuration.ConfigurationManager has solved the problem for us using .net core 2.0. |
My problem also solved Installing Nuget package for System.Configuration.ConfigurationManager
|
The above solutions seem more like a hack? I am feeling reluctant to add an "unused" reference to my .NET framework 4.7.2 project (System.Configuration.ConfigurationManager). What happens in the future if a teammate sees this reference as unused and removes it? The build will still pass, but will result in runtime errors. Does anyone have a proper fix? Also in this situation - I am converting a class library to .NET standard for an enterprise solution - we may have 50+ projects that consume this - so potentially I need to add this reference in 50 places? |
Hi all! |
Ah. The I'll close the issue for now - but if anybody is having this issue not in .NET core, let me know! |
any solution for consuming compatibility package which could help in consuming framework component in .net core |
please help i am facing comparability issue. |
Hi, If you're using the .net core you need to install the system.configuration.configurationamanger nuget package. Best regards, |
Hi,
No luck. Would you please help? |
The same problem like Yunhan-Zheng |
Hi @Yunhan-Zheng @parad74 - What error are you getting after you've added |
So... this Nuget package works when I use it in .NET Core while in MacOS?? What happens when I use for example this function: ConfigurationManager.OpenExeConfiguration(...) ? |
It worked for me to add the following tag in the csproj:
before of |
Ty |
I had the same issue, the reason was a package conflict between the same package in different project I solved by installing the same version in all my projects. |
Can you add a reference at your .csproj |
Same issue. Any solution?
|
I install Microsoft.Windows.Compatibility NuGet but same issue. |
Today I've found another workaround, that works for me, but I have no idea why. At the beginning of my application (in my case - in the
|
This fixed my problem too. Just adding nuget package to the running project. |
I had the same problem when I tried to connect to CosmosDb from a time triggered Azure Function. It worked for me. Hope this helps |
I just added Task.Delay(5000) and now it works fine
…On Wed, 24 Aug 2022, 9:17 pm Mohamed Eshiba, ***@***.***> wrote:
I had the same problem when I tried to connect to CosmosDb from a time
triggered Azure Function.
Here what I did to solve the problem
1- downgraded the projecto to netcoreapp3.1
2- Used the Azure Function V3
3- used Microsoft.NET.Sdk.Functions version 3.1.1(any version 3)
4- Added <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> in
the property Group tag in the .csproj
It worked for me. Hope this helps
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3PV6C35CINJ5OWORIYYNTV2YADXANCNFSM4DOWBZXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Greetings,
I am having some issues using this lib for .netcore. here is the error. I am using a .netcore
2.0.0-preview1-005977
in macos.thank you
The text was updated successfully, but these errors were encountered: