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

Forum for the PCANBasic .NET Assembly Beta-Package containing
the PCANBasic-Assembly developed in .NET-Standard.
Post Reply
ChololateIT
Posts: 8
Joined: Mon 13. Nov 2017, 15:42

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

Post by ChololateIT » Fri 11. Dec 2020, 14:36

Hi,

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

Cheers,
Choco

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Welcome to the PCANBasic .NET Assembly Beta

Post by M.Heidemann » Mon 14. Dec 2020, 09:13

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
---
Marvin Heidemann
PEAK-Support Team

ChololateIT
Posts: 8
Joined: Mon 13. Nov 2017, 15:42

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

Post by ChololateIT » Wed 24. Nov 2021, 14:02

Hi,

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

Regards,
Cholo

Post Reply