This is a migrated thread and some comments may be shown as answers.

does not compile wpf 3.5 reporting

5 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
pavel
Top achievements
Rank 1
pavel asked on 28 Mar 2012, 01:47 PM
I downloaded a trial version of WPF and the Report found.
made a report and placed in the ReportViewer. compile error: 
"Could not load file or assembly" Telerik.Windows.Controls, Version = 2012.1.215.35, Culture = neutral, PublicKeyToken = 5803cfa389c90ce7 "or one of its dependencies. Found assembly manifest definition does not match the assembly reference" .
While that worked on the previous free version of last year, but with bugs. 

While downloaded and installed:
telerik.windows.controls 2012.1.326.35 version
telerik.reporting 6.0.12.302 version 
Visual Studio 2010

An error during initialization. 

Help me...


5 Answers, 1 is accepted

Sort by
0
Accepted
Squall
Top achievements
Rank 1
answered on 28 Mar 2012, 02:37 PM
Hi, 
Your WPF controls version is too new and you have to add binding redirect.  http://www.telerik.com/help/reporting/wpf-report-viewer-embedding-the-viewer.html 
0
pavel
Top achievements
Rank 1
answered on 28 Mar 2012, 03:59 PM
Please give a link to an example project.Ya can not find a real example. 
i will do still but still the same error. 
I add the following entry in the app.config. 
A publicKeyToken what to put? 

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2012.1.326.35"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls.Input" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2012.1.326.35"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Controls.Navigation" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2012.1.326.35"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Windows.Data" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="2012.1.326.35"/>
      </dependentAssembly>

      <dependentAssembly>
        <assemblyIdentity name="Telerik.ReportViewer.Wpf" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="6.0.12.302"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Reporting" culture="neutral" publicKeyToken="5803cfa389c90ce7"/>
        <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="6.0.12.302"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


I've used in the external dll REPORTING control wpf. and the changes are not prescribed in the config file in the config program and this project is this dll.
Prescribed in the config program and everything was decided.
Thank you very much. 

0
Accepted
Elian
Telerik team
answered on 29 Mar 2012, 02:45 PM
Hi,

When installing Telerik Reporting, you also install the demo projects along. You can check the WPF project for reference. 

Regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
pavel
Top achievements
Rank 1
answered on 29 Mar 2012, 03:05 PM
just use the latest version of the demo 
0
pavel
Top achievements
Rank 1
answered on 12 May 2012, 12:56 PM
removed all versions demo and license.
put one license and everything was decided. 
Tags
General Discussions
Asked by
pavel
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
pavel
Top achievements
Rank 1
Elian
Telerik team
Share this question
or