5

I tried to use this code, to include Syncfusion Charts to the project

xmlns:charting="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.UWP"

but I get an error:

Undefined type "SfChart" in XML namespace "clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.UWP"

If I use standard using everything ok, but app package is too big, I don't need all controls from Syncfusion SDK.

xmlns:charting="using:Syncfusion.UI.Xaml.Charts"
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
SYL
  • 337
  • 4
  • 16

1 Answers1

3

It works fine with the following namespace while using assembly Syncfusion.SfChart.UWP

xmlns:charting="using:Syncfusion.UI.Xaml.Charts"

Regards,

Jessie

Victory Jessie
  • 679
  • 6
  • 16
  • Yes, I know. But, can I include to the project just Charts library instead all SDK? Because project with SDK included is bigger at least for 100MB... – SYL May 23 '16 at 11:23
  • Yes, you can include Chart library alone. – Victory Jessie May 23 '16 at 11:56
  • Are you getting any build error? If so please post the error message here. – Victory Jessie May 24 '16 at 03:45
  • 3
    Problem solved. I just have added reference to dll from this path "[Installed Location]\Syncfusion\Essential Studio\[version]\Assemblies for Universal Windows\10.0\Syncfusion.SfChart.UWP.dll" and everything allright – SYL May 24 '16 at 07:24
  • Thank you SYL, it is very helpfull. Solved my problem with .net native compiler – Vladimir Akopyan Jun 22 '16 at 18:12