Skip to content

Update System.Configuration.ConfigurationManager#1162

Merged
brandonh-msft merged 2 commits into
dotnet:mainfrom
rainersigwald:update-configmanager
Jun 20, 2022
Merged

Update System.Configuration.ConfigurationManager#1162
brandonh-msft merged 2 commits into
dotnet:mainfrom
rainersigwald:update-configmanager

Conversation

@rainersigwald

@rainersigwald rainersigwald commented Jun 13, 2022

Copy link
Copy Markdown
Member

dotnet/msbuild#7629 updated MSBuild's reference to System.Configuration.ConfigurationManager to the current 6.0.0.0 version. That version is available in the SDK directory and MSBuildLocator tries to load it but fails. Figuring out why is tracked as microsoft/MSBuildLocator#159, but this works around the problem by updating to (and thus redistributing) the same version that MSBuild now references, which is compatible with older SDKs/MSBuilds as well.

Addresses #1151

@rainersigwald rainersigwald marked this pull request as ready for review June 14, 2022 14:18
@rainersigwald rainersigwald requested a review from a team as a code owner June 14, 2022 14:18
dotnet/msbuild#7629 updated MSBuild's reference to
`System.Configuration.ConfigurationManager` to the current 6.0.0.0
version. That version is available in the SDK directory and
MSBuildLocator tries to load it but fails. Figuring out why is tracked
as microsoft/MSBuildLocator#159, but this works around the problem by
updating to (and thus redistributing) the same version that MSBuild now
references, which is compatible with older SDKs/MSBuilds as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.IO.FileLoadException: Could not load file or assembly 'System.Configuration.ConfigurationManager...'

2 participants