Grial-UI-Kit-Support icon indicating copy to clipboard operation
Grial-UI-Kit-Support copied to clipboard

Unable to update nuget packages in starter app

Open anotherlab opened this issue 6 years ago • 2 comments

Unable to update NuGet packages due to EngineIoClientDotNet dependency

Description

Nuget update generates the following error message

Attempting to resolve dependencies for multiple packages. Unable to find package 'EngineIoClientDotNet'. Existing packages must be restored before performing an install or update.

Steps to Reproduce

  1. Download "Grial Starter - Gorilla Ready" solution
  2. Open in Visual Studio for Mac
  3. Project->Restore NuGet Package
  4. Project->Update NuGet Package

Expected Behavior

Existing NuGet packages should be updated

Actual Behavior

Errors out with following message: Attempting to resolve dependencies for multiple packages. Unable to find package 'EngineIoClientDotNet'. Existing packages must be restored before performing an install or update.

Basic Information

  • Version with issue:
  • Last known good version: None
  • IDE: Visual Studio Mac v 7.7.3
  • Platform Target Frameworks:
    • iOS: N/A
    • Android: N/A
  • Android Support Library Version: N/A
  • Nuget Packages: UXDivers.GorillaPlayer.SDK
  • Affected Devices:

Screenshots

anotherlab avatar Jan 30 '19 19:01 anotherlab

Also tried just the grial starter project. It too failed to update. It complained about Lottie with the following error message:

Could not install package 'Com.Airbnb.Android.Lottie 2.7.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v8.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Updating the packages for just the iOS project worked.

anotherlab avatar Jan 31 '19 21:01 anotherlab

Hi @anotherlab.

The root cause of the problem is that EngineIoClientDotNet has been deprecated and Gorilla SDK depends on it. Version 1.0.3 of EngineIoClientDotNet has been removed from listing in nuget.org and that is causing the issue.

We will remove the dependency in the near future. In the meantime the easiest thing to do is remove SocketIoClientDotNet, EngineIoClientDotNet, WebSocket4Net, SuperSocket.ClientEngine.Core and UXDivers.GorillaPlayer.SDK. Once those packages gets removed add the latest version UXDivers.GorillaPlayer.SDK.

LeoHere avatar Feb 04 '19 12:02 LeoHere