Skip to content
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

'System.PlatformNotSupportedException' and 'System.Configuration.ConfigurationErrorsException' in System.Configuration.ConfigurationManager.dll #48423

Closed
ivan2007 opened this issue Feb 17, 2021 · 4 comments
Labels
area-System.Configuration untriaged New issue has not been triaged by the area owner

Comments

@ivan2007
Copy link

Description

Win32 app that calls a c++/cli NET Core 3.1 lib. The c++/cli lib calls a WPF NET Core 3.1 lib
Running the app the output window of VS shows:
'System.PlatformNotSupportedException' in System.Configuration.ConfigurationManager.dll
'System.Configuration.ConfigurationErrorsException' in System.Configuration.ConfigurationManager.dll
You can find more details here and here
The test project can be found here

Configuration

NET Core 3.1
architecture x64

@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Configuration untriaged New issue has not been triaged by the area owner labels Feb 17, 2021
@ghost
Copy link

ghost commented Feb 17, 2021

Tagging subscribers to this area: @safern
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Win32 app that calls a c++/cli NET Core 3.1 lib. The c++/cli lib calls a WPF NET Core 3.1 lib
Running the app the output window of VS shows:
'System.PlatformNotSupportedException' in System.Configuration.ConfigurationManager.dll
'System.Configuration.ConfigurationErrorsException' in System.Configuration.ConfigurationManager.dll
You can find more details here and here
The test project can be found here

Configuration

NET Core 3.1
architecture x64

Author: ivan2007
Assignees: -
Labels:

area-System.Configuration, untriaged

Milestone: -

@ericstj
Copy link
Member

ericstj commented Feb 17, 2021

Duplicate of #25027, already fixed in 5.0.

These are first chance exceptions. Can you clarify how your application is impacted by this issue?

@ivan2007
Copy link
Author

Ok, I only followed the suggestion of @SamBent. I am not trying to use an app.exe.config file so for this issue I am fine

@ericstj ericstj closed this as completed Feb 18, 2021
@ericstj
Copy link
Member

ericstj commented Feb 18, 2021

Thanks for the clarification

@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Configuration untriaged New issue has not been triaged by the area owner
Projects
No open projects
Development

No branches or pull requests

2 participants