Anki.Vector.SDK icon indicating copy to clipboard operation
Anki.Vector.SDK copied to clipboard

Running the SDK on .NET 3.1

Open hellwaiver opened this issue 3 years ago • 2 comments

.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).

hellwaiver avatar Nov 24 '22 16:11 hellwaiver

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.

codaris avatar Nov 24 '22 21:11 codaris

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: @.***>

hellwaiver avatar Nov 24 '22 22:11 hellwaiver