Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

.Net Native tool chain compiler error

Enviroment 
 VS2017 15.8.1
 Syncfusion 16.2460.0.41
1.rdlc - empty report

next part of code doesn't work if compile with .NET Native tool chain , if tool chain disabled all works fine.

  var sFile =await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/RDLC/1.rdlc"));
   Stream reportStream = await sFile.OpenStreamForReadAsync();
    ReportViewer.ProcessingMode = ProcessingMode.Local;
    ReportViewer.ExportMode = ExportMode.Local;
    ReportViewer.LoadReport(reportStream);
    ReportViewer.RefreshReport();


Please fix it. Could not publish UWP in MS Store.

5 Replies

MM Mageshyadav M Syncfusion Team August 23, 2018 09:40 AM UTC

Hi Vladimir, 
 
We were able to compile the UWP application with .NET Native tool chain using ReportViewer control based on your snippet shared. 
 
Please confirm us whether you are facing compilation errors or errors while loading ReportViewer. If you are facing compilation errors, please share us the complete errorlog details where as if you are facing errors while loading ReportViewer, please take snapshot of detailed error and share the information. 
 
Please find the snapshot showcasing where you can find the errors on loading UWP ReportViewer for your reference, 
 
 
 
Above requested information can be useful for us to validate the actual problem and provide you accurate solution. 
 
Note: You are following up the same query in incident hence please follow up in one common place for better tracking. 
 
Regards, 
Mageshyadav.M 



VG Vladimir Gonchar August 23, 2018 03:05 PM UTC

Hello,
Below I attached a NET native compiller error. Please mention the list of Syncfusion references attached to project. 
its compiles fine if I remove SfReportViewer or downgrade to v 15.XXXX. 







After removing SfData and SfGrid references I was able to compile nut got next error:





MM Mageshyadav M Syncfusion Team August 24, 2018 11:20 AM UTC

Hi Vladimir, 
 
Please find the reference assemblies needed for SfReportViewer from below link, 
 
 
In the snapshot shared, you are missing some of these above assemblies expected. If you remove any of these dependent assemblies, ReportViewer cannot render/export properly since it uses the control in dependent assemblies for rendering and exporting purpose. 
 
Can you please ensure whether you have included the runtime directive file (Default.rd.xml) to your project under properties section with the below changes to display Reports properly in your application using release mode. 
  
  <Application>  
    <Assembly Name="*Application*" Dynamic="Required All" />  
  </Application>  
 
  
Please find the snapshot reference locating the runtime directive file used in our sample application 
 
 
 
 
Regards, 
Mageshyadav.M 



VG Vladimir Gonchar August 24, 2018 04:40 PM UTC

Thak you for pointing me to the right direction. I forgot how much pain I had to include Syncfusion.PDF in project.
I restored back all ReportViewer required references and include  
  <Namespace Name="Syncfusion.SfReportViewer" Serialize="Required All" Dynamic="Required All"/> in Default.rd.xml. 
If I include <Assembly Name="*Application*" Dynamic="Required All" /> the project fail to compile. Thank you again.




MM Mageshyadav M Syncfusion Team August 27, 2018 09:41 AM UTC

Hi Vladimir, 
  
Thanks for your update. Hopefully, the last suggestion assisted in compilation success for you. 
  
Please let us know in case of any other details needed regarding this. 
  
Regards, 
Mageshyadav.M 


Loader.
Up arrow icon