Hi
I am creatingg a new WinUI system, so I Try to add the
Syncfusion WinUI DataGrid, but it crashes, I do set the licenenssing key int he App.xaml.cs
public App()
{
SyncfusionLicenseProvider.RegisterLicense("myKey");
this.InitializeComponent();
...........
}
but when I Get into the Page it and try to
InitializeComponent () . crashes!!!
Microsoft.UI.Xaml.Markup.XamlParseException
HResult=0x802B000A
Message=No se pudo encontrar el texto asociado a este código de error.
Cannot create instance of type 'Syncfusion.UI.Xaml.DataGrid.SfDataGrid' [Line: 78 Position: 17]
Source=WinRT.Runtime
StackTrace:
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
at CPD.OnLine.Views.PersonasPage.InitializeComponent() in C:\Programas.Net\CPD2\CPD.OnLine\CPD.OnLine\obj\x64\Debug\net10.0-windows10.0.19041.0\Views\PersonasPage.g.i.cs:line 39
at CPD.OnLine.Views.PersonasPage..ctor(PersonasViewModel viewModel) in C:\Programas.Net\CPD2\CPD.OnLine\CPD.OnLine\Views\PersonasPage.xaml.cs:line 32
Exception thrown: 'System.InvalidOperationException' in WinRT.Runtime.dll
Exception thrown: 'System.TypeInitializationException' in Syncfusion.Grid.WinUI.dll
Exception thrown: 'Microsoft.UI.Xaml.Markup.XamlParseException' in WinRT.Runtime.dll
Copilot says that there is no support for .net10 and WinUI , is that correct?
thnks