Cannot launch project with SfChart
Hello everyone ! I'm a beginner with syncFusion, and I try to implement a chart with SfChart in a Visual Studio project.
I try it with NuGet system, and now directly with the dll installed in syncFusion.
But, all of time I got this error on start.
I use this Sample for tesing :
At this.InitializeComponent if I just implement XAML sample :
Windows.UI.Xaml.Markup.XamlParseException: 'The text associated with this error code could not be found.
Cannot deserialize XBF metadata type list as 'SfChart' was not found in namespace 'Syncfusion.UI.Xaml.Charts'.
At this.InitializeComponent if I just implement XAML sample :
System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'
Inner exception : FileLoadException: Could not load file or assembly 'System.ObjectModel, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Thank you in advance for any help :)
SIGN IN To post a reply.
6 Replies
1 reply marked as answer
YP
Yuvaraj Palanisamy
Syncfusion Team
January 21, 2021 11:32 AM UTC
Hi Theo,
Greetings from Syncfusion.
Thank you for pointing out the mistake in our UG getting started sample. We are currently moving our UG sample to the GitHub location, publishing the UG with a runnable sample on or before January 28, 2021.
Please find the runnable sample in below
Sample Link: https://www.syncfusion.com/downloads/support/forum/161701/ze/ChartDemo_GettingStarted990181611
Regards,
Yuvaraj.
Marked as answer
TH
Theo
January 21, 2021 05:04 PM UTC
Thank you so much for your response !

The sample you send to me work, and with that, I was able to compare my project and the sample, and the fault is to the Min target version I choose when the project is created, the Creator update.
I see my first graph in my personnal app :)
But I have another question : It's possible for a developper to use syncFusion for free and personal use ? I say that, because I have the message for the trial period at launch :/
HM
Hemalatha Marikumar
Syncfusion Team
January 22, 2021 01:18 PM UTC
Hi Theo,
We are glad to hear that given sample works and you have found the cause of this reported error.
It's possible for a developer to use syncFusion for free and personal use? - We have alerted our sales team internally; they will contact at the earliest. You can also contact our sales team directly through this mail id [email protected]
I say that, because I have the message for the trial period at launch:
If you are using Syncfusion NuGet packages from nuget.org or assemblies from trial installer, you should generate and register the corresponding version and platforms license key in your application to avoid trial license warning.
Refer below the documentation to know more about licensing
Also, our license keys are version and platform specific. So Ensure that all the referenced Syncfusion assemblies\NuGet packages might be on the same version as license key version.
Refer below the documentation to generate and register the license key.
To generate the license key: https://help.syncfusion.com/common/essential-studio/licensing/license-key#how-to-generate-syncfusion-license-key
To register the license key: https://help.syncfusion.com/common/essential-studio/licensing/license-key#uwp
Find below the knowledge base article to know about which version license key should use in application,
https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application
https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application
If still the issue persists, please share us the following details.
1. License key used in your project.
2. List of Syncfusion NuGet packages/Assemblies used and its version
3. Screenshot of the issue.
As promised earlier, that UG correction (Chart) will be available on or before January 28,2021.
Regards,
Hemalatha M.
Hemalatha M.
SM
Saravanan Madheswaran
Syncfusion Team
February 1, 2021 01:19 PM UTC
Hi Theo
As promised earlier, that UG correction (Chart) will be was reflected on live now.
Thankyou,
Saravanan.
TH
Theo
February 1, 2021 01:27 PM UTC
Please, apologize my late reply, I forgot to answer you.
Finally, I prefered use wpf for my app because uwp cause a lot of restrictions.
And the chart work perfectly :)
Thank you for the method for use the license, and thank you for your amazing work, this library is awesome !
Cordially,
M Begyn
YP
Yuvaraj Palanisamy
Syncfusion Team
February 2, 2021 06:12 AM UTC
Hi Theo,
Thanks for your update. Please let us if you have any concern.
Regards,
Yuvaraj.
SIGN IN To post a reply.