codaris / Anki.Vector.SDK

The Anki Vector .NET SDK provides programmicatic access to the Vector Robot from .NET and is published as a NuGet package.
Apache License 2.0
74 stars 19 forks source link

Running the SDK on .NET 3.1 #8

Open hellwaiver opened 1 year ago

hellwaiver commented 1 year ago

.NET 3.1 is the LTS version of dotnet, and the only way I can get the SDK working with my MacBook Pro (using Rosetta). Do you plan to upgrade the SDK to use 3.1 officially, and is there any limitations in doing so (features which exist in 3.0 but not 3.1 used by the SDK).

codaris commented 1 year ago

The library is compiled for .NET Standard 2.0 and should be fully compatible with .NET 3.1 (as well as all other current versions of .NET). I've successfully used it on Linux with .NET 5.0 and on Android with Xamarin/Mono. .NET 6.0 is the current LTS version. .NET 3.1 was the previous LTS version and goes out of support next month (December 13th, 2022).

Have you tried the SDK package with .NET 6.0 (it natively supports Apple Silicon)?


https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1

We recommend you target .NET Standard 2.0, unless you need to support an earlier version. Most general-purpose libraries should not need APIs outside of .NET Standard 2.0. .NET Standard 2.0 is supported by all modern platforms and is the recommended way to support multiple platforms with one target.

hellwaiver commented 1 year ago

Hi, I have not tried running it on .NET 6.0 yet, I will try it now - seems like the best solution. Thanks for the speedy response! On 24 Nov 2022, at 21:58, Wayne Venables @.***> wrote:

The library is compiled for .NET Standard 2.0 and should be fully compatible with .NET 3.1 (as well as all other current versions of .NET). I've successfully used it on Linux with .NET 5.0 and on Android with Xamarin/Mono. .NET 6.0 is the current LTS version. .NET 3.1 was the previous LTS version and goes out of support next month (December 13th, 2022).

Have you tried the SDK package with .NET 6.0 (it natively supports Apple Silicon)?


https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1

We recommend you target .NET Standard 2.0, unless you need to support an earlier version. Most general-purpose libraries should not need APIs outside of .NET Standard 2.0. .NET Standard 2.0 is supported by all modern platforms and is the recommended way to support multiple platforms with one target.

— Reply to this email directly, view it on GitHubhttps://github.com/codaris/Anki.Vector.SDK/issues/8#issuecomment-1326858882, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4IXO7TSWLL4FCH7AQSEN3WJ7QIPANCNFSM6AAAAAASKSC3VU. You are receiving this because you authored the thread.Message ID: @.***>