uwpsyncfusion.net-native

.net native out of memory when compiling application with Syncfusion Controls


My application uses Syncfusion UWP chart control and EF7 Core RC2, with VS2015 preview 2.

I can compile the application fine with just the EF7 Core, but as soon as I add a reference to Syncfusion, I end up with very long compile times that end with ".net native out of memory" exception.

Syncfusion reference does not cause this effect in a different, very simple app. Has anyone encountered this problem before and is it possible for this to be caused by my csProj settings?


Solution

  • While run the application with .Net native chain tool in Release mode, it will require more memory space to build the application. Because .NET Native tools are compiled your IL libraries with managed code in native libraries and also "Syncfusion Controls for UWP XAML" SDK contains more number of assemblies. So we suggest to use corresponding assemblies in your application instead of "Syncfusion Controls for UWP XAML" SDK to resolve this issue.

    You can refer the individual assemblies from the below location.

    Assembly location : C:\Program Files (x86)\Syncfusion\Essential Studio\15.1.0.33\Assemblies for Universal Windows\10.0

    Regards, Marimuthu S.