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

后端 未结 11 1047
终归单人心
终归单人心 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:30

    I was getting this issue on our TeamCity build server. I tried updating NuGet on the build server (via TC) but that didn't work. I finally resolved the problem by changing the "Update Mode" of the Nuget Installer build step from solution file to packages.config.

提交回复
热议问题