I'm trying to reduce my app deployment size by referencing the assemblies directly, rather than referencing the SDK. I've got it narrowed down to the assemblies I need, but even when referencing all of the assemblies, I'm getting an error:
{"The type initializer for 'Syncfusion.UI.Xaml.Controls.Notification.SfHubTile' threw an exception."}
To reproduce this, I've put together a sample, but here's all that I need to do to get the exception to occur:
SfHubTile sampleHub = new SfHubTile();
Again, I'm referencing the assemblies, not the SDK. If I use the SDK, everything works fine, but my app size is much larger than I'd like.
Here's the stack trace:
at Syncfusion.UI.Xaml.Controls.Notification.SfHubTile..ctor()
at SampleApp.MainPage..ctor()
at SampleApp.SampleApp_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider.Activate_0_MainPage()
at SampleApp.SampleApp_WindowsPhone_XamlTypeInfo.XamlUserType.ActivateInstance()
Thanks!
Attachment:
SampleApp_161f387c.zip