siemens / ros-sharp

ROS# is a set of open source software libraries and tools in C# for communicating with ROS from .NET applications, in particular Unity3D
Apache License 2.0
961 stars 365 forks source link

WebSocketSharp dependency error on installing the nuget #379

Closed robokamran closed 3 years ago

robokamran commented 3 years ago

Hello everyone, I am trying to write a C# application to communicate with ROS. I get this error when I try to install RosSharpRosBridgeClient from NuGet manager UI:

Unable to resolve dependency 'WebSocketSharp'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.

But when I install WebSocketSharp from the package manager console with the following code, it will work fine. PM> Install-Package WebSocketSharp -Pre

Please either fix this or enlighten me if I am doing something wrong. I use VS2019 and I have tried the installation with dotnet framework 4.6 & 4.6.1 & 4.7.2 & 4.8 versions.

MartinBischoff commented 3 years ago

Hi @robokamran , we could not reproduce this issue. We used the same sources nuget.org and Microsoft Visual Studio Offline Packages. Please make sure to use this nuget package: https://www.nuget.org/packages/RosSharpRosBridgeClient/