Package restore failed. Rolling back package changes for 'ConsoleApp1' while installing new package

前端 未结 3 1719
忘了有多久
忘了有多久 2021-01-14 13:13

I get Package restore failed. Rolling back package changes for \'ConsoleApp1\' while installing a new package. In particular I am trying to install the dropbox

相关标签:
3条回答
  • 2021-01-14 13:21

    To expand on @Michael Potter's answer, create a Console App (.NET Framework), NOT Console App (.NET Core).

    0 讨论(0)
  • 2021-01-14 13:24

    bring the version of the solution package to 1.1.3enter image description here

    0 讨论(0)
  • 2021-01-14 13:31

    The problem was that I am using Console App(.Net Core) Core is not compatible with Dropbox API.

    I figured that out by opening NuGet Package Manager -> Package Manager Console and running Install-Package Dropbox-Api.

    Then the error message about compatibility was on the screen plain to see.

    To solve the problem I am switching to Console App (.Net Framework).

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