You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 24, 2026. It is now read-only.
Could not load System.Collections.Immutable version 5.0.0 #151
System.InvalidOperationException : Test did not run due to a harness failure.
---- System.IO.FileNotFoundException : Could not load file or assembly 'System.Collections.Immutable, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Stack Trace:
----- Inner Stack Trace -----
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Manually adding a reference to it from the test project makes it go away.
I hit this too. But applying your workaround only got me to the next error about missing Microsoft.VisualStudio.Interop.dll. So I just ran out ahead of all the missing DLLs by adding this:
Activity
AArnott commentedon Sep 7, 2023
I hit this too. But applying your workaround only got me to the next error about missing Microsoft.VisualStudio.Interop.dll. So I just ran out ahead of all the missing DLLs by adding this:
This required that I remove the System.Collections.Immutable reference because it was a downgrade from the 17.7 VS SDK.
That got my "hello, world" test passing for me.