NuGet: 'X' already has a dependency defined for 'Y'

后端 未结 11 1056
终归单人心
终归单人心 2020-11-28 07:40

I\'m getting the following error in NuGet while trying to install package Microsoft.AspNet.Server.IIS

Attempting to resolve dependency \'Microso         


        
11条回答
  •  不知归路
    2020-11-28 08:32

    In a project using vs 2010, I was only able to solve the problem by installing an older version of the package that I needed via Package Manager Console.

    This command worked:

    PM> Install-Package EPPlus -Version 4.5.3.1
    

    This command did not work:

    PM> Install-Package EPPlus -Version 4.5.3.2
    

提交回复
热议问题