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

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

    In my case I had to delete the file NuGet.exe in the Project folder/.nuget and rebuild the project.

    I also have in NuGet.targets the DownloadNuGetExe marked as true:

    true
    

    Hope it's helps.

提交回复
热议问题