Page 1 of 1

Is the PCANBasic .NET Assembly Be compatible with .NET 5.0?

Posted: Fri 11. Dec 2020, 14:36
by ChololateIT
Hi,

that's great! Is the lib compatible with .NET 5.0?

Cheers,
Choco

Re: Welcome to the PCANBasic .NET Assembly Beta

Posted: Mon 14. Dec 2020, 09:13
by M.Heidemann
Hello,

The PCANBasic .Net Assembly was developed on basis of .NET Standard 1.0 and according
to the information provided by microsoft is compatible with .NET 5.0

Here a link to the microsoft-page going into further detail:

https://docs.microsoft.com/de-de/dotnet ... t-standard

To quote microsoft regarding this
For existing code that targets netstandard, there's no need to change the TFM to net5.0. .NET 5.0 implements .NET Standard 2.1 and earlier. The only reason to retarget from .NET Standard to .NET 5.0 would be to gain access to more runtime features, language features, or APIs. For example, in order to use C# 9, you need to target .NET 5.0. You can multitarget .NET 5.0 and .NET Standard to get access to newer features and still have your library available to other .NET implementations.
For further questions feel free to contact me again.

Best Regards

Marvin

Re: Is the PCANBasic .NET Assembly Be compatible with .NET 5.0?

Posted: Wed 24. Nov 2021, 14:02
by ChololateIT
Hi,

we are using it with net5 without issues (on Windows). Still on the first version of the PCANBasic .NET.

Regards,
Cholo