Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when install dotnet-etcd v3.0.0-alpha #25

Closed
spiderpoison opened this issue Aug 12, 2019 · 2 comments
Closed

Error when install dotnet-etcd v3.0.0-alpha #25

spiderpoison opened this issue Aug 12, 2019 · 2 comments

Comments

@spiderpoison
Copy link

I used nuget install dotnet-etcd v3.0.0-alpha, error like below,

Restoring packages for /Users/zhangzhen/serverthreekingdom/src/vcs.taiyouxi.net/jws2/battlecheck/battlecheck/battlecheck.csproj...
NU1605: Detected package downgrade: Google.Protobuf from 3.9.1 to 3.9.0-rc1. Reference the package directly from the project to select a different version. 
 battlecheck -> dotnet-etcd 3.0.0-alpha -> Google.Protobuf (>= 3.9.1) 
 battlecheck -> Google.Protobuf (>= 3.9.0-rc1)
Package restore failed. Rolling back package changes for 'battlecheck'.
NuGet.PackageManagement.PackageReferenceRollbackException: Package restore failed. Rolling back package changes for 'battlecheck'.
  at NuGet.PackageManagement.NuGetPackageManager.ExecuteBuildIntegratedProjectActionsAsync (NuGet.ProjectManagement.Projects.BuildIntegratedNuGetProject buildIntegratedProject, System.Collections.Generic.IEnumerable`1[T] nuGetProjectActions, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, System.Threading.CancellationToken token) [0x00c45] in <7a2d2afbbb674cd48052281699c39e01>:0 
  at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, System.Collections.Generic.IEnumerable`1[T] nuGetProjectActions, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext, System.Threading.CancellationToken token) [0x00121] in <7a2d2afbbb674cd48052281699c39e01>:0 
  at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, NuGet.Packaging.Core.PackageIdentity packageIdentity, NuGet.PackageManagement.ResolutionContext resolutionContext, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext, System.Collections.Generic.IEnumerable`1[T] primarySources, System.Collections.Generic.IEnumerable`1[T] secondarySources, System.Threading.CancellationToken token) [0x00121] in <7a2d2afbbb674cd48052281699c39e01>:0 
  at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, NuGet.Packaging.Core.PackageIdentity packageIdentity, NuGet.PackageManagement.ResolutionContext resolutionContext, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, System.Collections.Generic.IEnumerable`1[T] primarySources, System.Collections.Generic.IEnumerable`1[T] secondarySources, System.Threading.CancellationToken token) [0x000d3] in <7a2d2afbbb674cd48052281699c39e01>:0 
  at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation+<>c__DisplayClass2_0.<InstallAsync>b__0 (NuGet.ProjectManagement.NuGetProject nuGetProject, System.Threading.CancellationToken token) [0x000a5] in <4f50b4f4bae54c32bce2af009baac90a>:0 
  at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.InstallInternal (JetBrains.ProjectModel.IProject project, System.String packageId, System.String packgeUserStr, JetBrains.ProjectModel.NuGet.Configs.NuGetFeedContext feedContext, System.Int32 nestedLevel, JetBrains.ProjectModel.NuGet.Logging.NuGetNotificationMode mode, JetBrains.ProjectModel.NuGet.Operations.NuGetOperationReporter reporter, System.Func`3[T1,T2,TResult] nativeInstall) [0x003e6] in <4f50b4f4bae54c32bce2af009baac90a>:0 

@ Installing dotnet-etcd in battlecheck finished (4.852 sec)
[Notification][Install] Install failed (project: battlecheck, package: dotnet-etcd v3.0.0-alpha)
Package restore failed. Rolling back package changes for 'battlecheck'.
@shubhamranjan
Copy link
Owner

Hi, Please try to remove any references of Google.Protobuf from your project. It seems that your project already has a reference of 3.9.0-rc1 whereas dotnet-etcd has a reference of 3.9.1. Either update the reference to the same version or remove it. That should solve it.

@shubhamranjan
Copy link
Owner

Closing as no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants