Grial-UI-Kit-Support
Grial-UI-Kit-Support copied to clipboard
Unable to update nuget packages in starter app
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
- Download "Grial Starter - Gorilla Ready" solution
- Open in Visual Studio for Mac
- Project->Restore NuGet Package
- 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
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.
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
.