Install-Package : Failed to add reference to 'System.Runtime'

后端 未结 2 714
梦谈多话
梦谈多话 2021-01-07 18:59

I\'m trying to install the Autofac nuget package in my project using the command

Install-Package -Prerelease Autofac

but it fails with the

2条回答
  •  抹茶落季
    2021-01-07 19:31

    I had the same problem.

    Found the solution here: https://github.com/aspnet/WebHooks/issues/18

    To fix it, I added to the .csproj
    file for the project, rebuilt it and it worked.

提交回复
热议问题