Package tried to add reference to System.Runtime which was not found in the GAC

后端 未结 4 1511
抹茶落季
抹茶落季 2020-12-16 02:50

ASP.NET 4.5.1 or 4.5.2

Updating Nuget package MicrosoftAspNet.Identity.EntityFramework from version 2.2.1 to version 3.0.0-rc1-final

I get the following erro

4条回答
  •  执念已碎
    2020-12-16 03:08

    I had a similar issue with another package.

    I "solved" it adding a manually reference to missed library, updating the package and then removing the reference added manually:

    • On your project go to References -> Add Reference... and then click on Browse...

    • On my installation (Windows 10), your file is located on: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll

    Add, update and then remove.

    I know, it is not a solution, but it will allow you continue working until get a real solution.

提交回复
热议问题