Home: Microsoft.Bcl.Async package cannot resolve dependencies in VS2017

Created on 16 Mar 2017  路  3Comments  路  Source: NuGet/Home

Details about problem

NuGet package Microsoft.Bcl.Async for Net40 target cannot be resolved in a multi-target library after switching to VS2017. Worked in VS2015.

NuGet version: 4.0.0
VS version: 2017
OS version: win10 x64
Worked before? Worked in NuGet version: 3.5.0 (using VS2015)

Detailed repro steps so we can see the same problem

Details see: https://github.com/dotnet/cli/issues/5993

NotRepro

Most helpful comment

Investigate -- is it package issue and/or NuGet 4 change in behavior.

All 3 comments

Investigate -- is it package issue and/or NuGet 4 change in behavior.

The error states that the package expects a different version of System.Threading.Tasks. Under VS2015 there is no such error. The package Microsoft.BCL.Async hasn't changed for years, but it is wildly used because it brings async/await to .NET4.

Thanks for reporting this issue. We have not been able to reproduce this issue. If you are still able to reproduce this with the latest NuGet version, please provide additional steps.

Was this page helpful?
0 / 5 - 0 ratings