MSBuildWorkspace 2.8.2 doesn't work out of the box with VS 15.8.1 #29436
Labels
Area-IDE
Bug
Resolution-External
The behavior lies outside the functionality covered by this repository
Milestone
Maybe this is not a bug, but I'm reporting it here anyway, for feedback.
Version Used:
Visual Studio 2017 Professional 15.8.1
Steps to Reproduce:
csproj
fileProgram.cs
to callExpected Behavior:
The program runs without throwing any exceptions.
Actual Behavior:
The program throws a
ReflectionTypeLoadException
exception, with nestedLoaderExceptions
:Could not load file or assembly 'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Note that when building you indeed get a warning some incorrect version, but the
csproj
file containsso I was expecting this to be no problem.
Workaround:
Also add
to your
csproj
fileThis seems very related to #17705 (possibly a duplicate?)
Note that I wasn't able to use 2.9, because I then got bitten by #29122
The text was updated successfully, but these errors were encountered: