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

后端 未结 4 1510
抹茶落季
抹茶落季 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:11

    I had the same issue, but adding the MySQL package to my project.

    The way that i solved was just very closely to the answer given by Sebastián Guerrero.

    So i will be adding a manually reference to that missed library (system.runtime) and than installed the MySQL package and it works perfectly.

    ATTENTION: I only unnistall the system.runtime package after installing the MySQL.

    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

提交回复
热议问题