Closed mishra14 closed 7 years ago
@rainersigwald
Not sure if we just have to update the Immutable ref in Tasks.Core from 1.2.0 (introduced in #1682), or if we should add a direct ref somewhere else. @jeffkl thoughts?
@mishra14 can you please retry this with the latest dotnet.myget.org package: 15.2.0-preview-000069-02
The msbuild package you referenced is from February, and might not include our fix for immutable.
This is fixed post RTW. Our "preview" packages declare this reference and will be published to NuGet with a future Visual Studio update.
It seems that Microsoft.Build.Runtime needs an explicit reference to "System.Collections.Immutable" Version="1.2.1".
Project -
Error -
Workaround -
Goes away by adding a reference to System.Collections.Immuatble v1.2.1
dotnet add package system.collections.immutable -v 1.2.1