Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

.NET Standard compatibility #1

Open
bluekuen opened this issue Aug 4, 2020 · 21 comments
Open

.NET Standard compatibility #1

bluekuen opened this issue Aug 4, 2020 · 21 comments

Comments

@bluekuen
Copy link

bluekuen commented Aug 4, 2020

Hello,
i'm currently testing your plugin for my company and i'm curious now if it's really .NET Standard compatible.
My superior told me to only look for .NET Standard compatible libraries and whilst testing i get following warning with the .NET Standard package:
grafik

Is there going to be an update of this package or am i missing something?
We are serious about purchasing your product but it has to be compatible with .NET Standard.

I'm looking forward for an answer!

Kind regards,
bluekuen

@chris-steema
Copy link
Contributor

Hello!

No, the Xamarin Forms Standard version is not .NET Standard compatible - it is a reduced, 'business' version of the full 'professional' version, as you can see here:
https://steema.com/feature_matrix/forms

Steema does have a .NET Standard compatible Charting assembly, however, which is this one:
https://www.nuget.org/packages/Steema.TeeChart.NETCore/

There are also .NET Core versions for Windows Forms and WPF.

@bluekuen
Copy link
Author

bluekuen commented Aug 4, 2020

Hello and thanks for the fast answer!

I get the following warning when trying to install:

grafik

@chris-steema
Copy link
Contributor

You're welcome!

My mistake - the 'pure' .NET Standard assembly is in the following NuGet package:
https://www.nuget.org/packages/Steema.TeeChart.NET/

Under the following directory:
explorer_2020-08-04_16-39-52

@bluekuen
Copy link
Author

bluekuen commented Aug 5, 2020

great, that's what i was looking for!
Can you tell me what charts i can create with it?

@chris-steema
Copy link
Contributor

The .NET Feature Matrix is here:
https://steema.com/feature_matrix/net

The NuGet package I pointed you to is the Pro version - so all of the chart types listed for Pro are available to you. The TeeChart.NETStandard.dll assembly is built in .NET Standard 2.0, meaning it is compatible with all the implementations listed in the table here:
https://docs.microsoft.com/en-us/dotnet/standard/net-standard

I have added an example of how to use TeeChart.NETStandard.dll here:
https://github.com/Steema/TeeChart-for-.NET-CSharp-WinForms-samples/tree/master/NETStandardFrameworkConsoleApp

Please note that the TeeChart.NETStandard.dll this example is using is under the 'netstandard2.0' folder - this is because the TeeChart.NETStandard.dll in the NuGet package I mentioned may have problems on instantiating instances of the class 'Chart' on some machines. This problem will be rectified in a future NuGet release.

@bluekuen
Copy link
Author

bluekuen commented Aug 6, 2020

Is the Xamarin.Forms package also going to be available for .NET Standard?

@chris-steema
Copy link
Contributor

Is the Xamarin.Forms package also going to be available for .NET Standard?

In my understanding from the Documentation:
https://docs.microsoft.com/en-us/dotnet/standard/net-standard

it's not that Xamarin.Forms or any other platform is available for .NET Standard, but rather than the .NET Standard APIs are available to different platforms - this means that the TeeChart.NETStandard.dll can already be used in Xamarin.Forms, as per this page:

https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/net-standard

@bluekuen
Copy link
Author

Can you assist me on creating a chart with the net-standard package?
I integrated the TeeChart.NETStandard.dll to my Xamarin.Forms Project, but i have problems adding a Chart to the XAML.
I'm looking forward for your help as we sit on the fence of your and another charting lib.

Kind Regards,
bluekuen

@chris-steema
Copy link
Contributor

Can you assist me on creating a chart with the net-standard package?

We are presently preparing an example of how to use TeeChart.NETStandard with Xamarin.Forms and will advise you when it is ready.

@bluekuen
Copy link
Author

Great, thanks in advance!
Can you estimate how long it will take?

Greetings Bluekuen

@chris-steema
Copy link
Contributor

Can you estimate how long it will take?

We plan to have it ready for you before 12h tomorrow.

@bluekuen
Copy link
Author

That's perfect, appreciate it!

@chris-steema
Copy link
Contributor

Unfortunately we are not going to be able to provide you with the example we promised. The issue is a technical one - TeeChart.NETStandard.dll - our .NET Standard 2.0 compatible TeeChart library - references the NuGet package System.Drawing.Common. This means that when TeeChart.NETStandard.dll is referenced in a Xamarin.Forms project, it will throw an error identical to the one described here. Of course we will be looking into this issue in more depth, but this does mean that we cannot provide you with the example you requested at this time.

@bluekuen
Copy link
Author

Alright, thank you for the information!
I'm on vacation for the next four weeks and i would be happy if an example was available by then.
So far im very impressed by the good suport!
Thanks again and kind regards
bluekuen

@bluekuen
Copy link
Author

Hello,

i'm back from vacaion and curious if you could already make progress with the .NET Standard version?

Kind regards,
bluekuen

@chris-steema
Copy link
Contributor

Hello!

we're due to have a meeting today to discuss progress on this issue; some has been made, but we are still quite a way from releasing anything to the public. I'll get back to you with something more definite later today.

@bluekuen
Copy link
Author

Hello,

alright, thanks for the information!

Kind regards,
bluekuen

@chris-steema
Copy link
Contributor

Hello,

whoops, by 'today' I must have meant 'within the next 24 hours'! Apologies.

Yesterday we concluded that we would commit to the production of a .NET Standard assembly compatible with Xamarin Forms. We hope that within the next three weeks we will have a beta version we can made available for testing.

@PepJorge
Copy link
Member

Hello bluekuen,
just inform to you that a new TeeChart NET for Xamarin.Forms (with NETStandard compatibility) nuget package has been published.
You can check it here.

@bluekuen
Copy link
Author

Hello PepJorge,

these are great news! We will test it immediately!
Thanks for informing!

Kind regards
bluekuen

@PepJorge
Copy link
Member

PepJorge commented Nov 3, 2020

Hello Bluekuen,
several weeks have been passed since last communication, just want to follow up about if have you've been able to test it and also if you're using the our library.
In the case you need help on something, do not hesitate to contact us via email or through here.

Thanks

Best regards !
Pep

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants