Dear Sir/Madam,
4 hours search, downloading, trying and can't find the solution to make WPF report viewer works with the latest Telerik version of WPF and Reporting
Framework: 4.7.1
Telerik WPF version: 2018.2.620.45
Telerki Report Version: 12.1.18.620
Basically, New Blank telerik WPF Project -> All references are added -> Version 2018.2.620.45 (tried both, xaml and noxaml)
- Now Add Telerik Report R2 2018 (Blank)
- Then Add Telerik Report Viewer Window R2 2018
- Select Embedded, Existing Report definition, Type Report Definition, (wait for build to done) -> Report1
- Finish: In the Log page got this error:
Error: Fail to add project reference System.Runtime.InteropServices.COMException (0x80004005): Adding 'TelerikWpfApp6' as a project-to-project reference would cause this project to reference itself. at VSLangProj.References.AddProject(Project pProject) at Telerik.Reporting.Vs.Common.ProjectManager.TryAddProjectReference(Project projectToReference)
and when I run the project i got:
System.Windows.Markup.XamlParseException: ''Set property 'System.Windows.ResourceDictionary.Source' threw an exception.' Line number '65' and line position '10'.'
FileNotFoundException: Could not load file or assembly 'Telerik.ReportViewer.Wpf.Themes, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
While Telerik.ReportViewer.Wpf.Themes is in the reference.
Many thanks.