我在 VS 中的 Windows 上创建了一个项目。在 Mac OS X 上克隆它并使用 JetBrains Rider-EAP 打开它后,我无法恢复 Nuget 包。
我无法安装或升级任何软件包。Rider 为每个包抛出以下错误:
ReSharperHostException
A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. One or more errors occurred. Package 'Newtonsoft.Json.8.0.3' already exists in project 'MovieLensMongo'
--- EXCEPTION #1/5 [PackageAlreadyInstalledException]
Message = “Package 'Newtonsoft.Json.8.0.3' already exists in project 'MovieLensMongo'”
ExceptionPath.1 = Root.InnerException.InnerException.InnerException.InnerException
ExceptionPath.2 = Root.InnerException.InnerExceptions.#0.InnerException.InnerException
ExceptionPath.3 = Root.InnerException.InnerException.InnerExceptions.#0.InnerException
ExceptionPath.4 = Root.InnerException.InnerExceptions.#0.InnerExceptions.#0.InnerException
ClassName = NuGet.PackageManagement.PackageAlreadyInstalledException
HResult = COR_E_EXCEPTION=80131500
--- Outer ---
当我创建一个新项目时,我没有收到任何这些错误。我可以毫无问题地安装或升级新软件包。
有没有人有类似的问题?