Telerik.ReportViewer.WinUI (16.1.22.511)

1 Answer 238 Views
.NET Framework General Discussions
Paul
Top achievements
Rank 2
Paul asked on 15 Jun 2022, 02:07 PM | edited on 15 Jun 2022, 02:27 PM

I am getting an error when attempting to run a WinUI project with the Telerik.ReportViewer.WinUI NuGet package installed.  Project builds without errors, but when I attempt to run the project, I get the following error:

Exception thrown: 'System.IO.FileNotFoundException' in Telerik.ReportViewer.WinUI.Themes.dll

In App.xaml I have added:

<ResourceDictionary Source="ms-appx:///Telerik.ReportViewer.WinUI.Themes/Themes/Generic.xaml"/>

The application target framework is .Net 6.0.  I attempted to following the example projects that were mentioned here.  What am I missing?

I also get the following errors if I add the Telerik.WinUI.Controls (2.0.0) NuGet Package.  The errors are:

PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.

PRI222: 0x80073b0f - Unspecified error occurred.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 20 Jun 2022, 10:02 AM

Hello Paul,

Note that we provide assemblies/packages only for .NET 5. To be honest, we haven't tested our WinUI Report Viewer in .NET 6. I have logged this as a task in our system. After successfully testing, we will add new demos.

Did you try our WinUI demo for .NET 5? Did you test the viewer in a custom project targeting the .NET 5 Framework?

When it comes to the problem when adding the Telerik.WinUI.Controls packages, we are aware of it. You need to use Telerik.WinUI.Controls assembly we distribute with Telerik.Reporting. You may find it by default in the installation folder of the product, for example, 'C:\Program Files (x86)\Progress\Telerik Reporting R2 2022\Bin\net5.0-windows'. Our developers are actively working with the Telerik WinUI team for fixing the issue.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
.NET Framework General Discussions
Asked by
Paul
Top achievements
Rank 2
Answers by
Todor
Telerik team
Share this question
or