I'm wondering if your set of Xamarin.Forms controls supports .NET Standard 2.0, as I'm using it instead of the classical PCL, but when I deploy on the device the app doesn't start, with an error message. Below all the steps to reproduce the issue:
Using Visual Studio 2017, I've created a very simple Cross-Platform app (Xamarin.Forms),
Then I've selected a Blank App template, only Android as platform, Xamarin.Forms as Technology, and .NET Standard as Code Sharing Strategy
Testing the new app on Xamarin Live Player (on a Samsung Galaxy 7 SM-G935F )
Then following the getting started guide for the DataGrid
https://help.syncfusion.com/xamarin/sfdatagrid/getting-started
I've added the libraries Core,GridCommon, SfDataGrid, SfNumericTextBox to all projects, using Nuget.
Tested on the device and it runs fine.
As soon as I add the grid in the in the XAML and the relative code in the App.xaml.cs as defined in the step 3 of the paragraph "Adding SfDataGrid in Xamarin.Forms"
it stops to work:
I'm able to compile, but as soon as I lunch the app on the device it gives me the error:
"Visualization error. Object reference not set to an instance..."
I've tested also on another device (Galaxy Nexus Android 4.3) but I get always the same error.
I'm wondering I've missed something in the Syncfusion installation or maybe some incompatibility.
Attached the full project.
Thanks
Attachment:
NatunaMobileApp_97248d2d.rar