'Portable.BouncyCastle' already has a dependency defined for 'System.Collections'

后端 未结 2 1145
栀梦
栀梦 2021-01-28 04:44

This error occurs on the Bamboo build server during a command that restores my solution\'s NuGet packages. I can bypass this error by disabling the package restore task; howeve

相关标签:
2条回答
  • 2021-01-28 05:27

    This issue is fixed if you use nuget version: 3.4.4+

    https://dist.nuget.org/index.html

    I would recommend using latest version

    0 讨论(0)
  • 2021-01-28 05:39

    The already has a dependency defined for error when installing a NuGet package is due to a bug in older versions of NuGet.

    You should look at updating NuGet on the build server or run your own build step that uses a version of NuGet that you download or deploy separately.

    0 讨论(0)
提交回复
热议问题