Skip to content

Updating System.Collections.Immutable package reference to version 10.0.1#15392

Open
MSLukeWest wants to merge 2 commits intomicrosoft:mainfrom
MSLukeWest:main
Open

Updating System.Collections.Immutable package reference to version 10.0.1#15392
MSLukeWest wants to merge 2 commits intomicrosoft:mainfrom
MSLukeWest:main

Conversation

@MSLukeWest
Copy link
Contributor

Description

Starting in VS 18.4, VS and MSBuild now reference this newer version of System.Collections.Immutable. Now, when the UWP test host runtime provider tries to load MSBuild assemblies it will fail, because the test platform's copy of System.Collections.Immutable doesn't have methods that MSBuild uses:

Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Failed to launch testhost with error: System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.XMakeElements' threw an exception. ---> System.MissingMethodException: Method not found: 'System.Collections.Frozen.FrozenSet`1<!!0> System.Collections.Frozen.FrozenSet.Create(System.Collections.Generic.IEqualityComparer`1<!!0>, System.ReadOnlySpan`1<!!0>)'.
   at Microsoft.Build.Shared.XMakeElements..cctor()

Related issue

Internal DevDiv bug 2692656

  • I have ensured that there is a previously discussed and approved issue.

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.

1 participant