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

Reference Strongly-named Assembly in Standalone report designer

1 Answer 144 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
wpsaila
Top achievements
Rank 1
wpsaila asked on 23 Jul 2014, 11:52 AM
Hi

I am using the standalone report designer to create a report having an Object Data Source. I am trying to extend the designer to include my own class library. My class library is strongly named (i.e. signed). I installed my class library to the GAC and modified the designer's config file runtime section as follows:

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            
      <dependentAssembly>
        <!-- Required for interoperability with older versions of Telerik Reporting -->
        <assemblyIdentity name="Telerik.Reporting" culture="neutral" publicKeyToken="a9d7983dfcc261be"/>
        <bindingRedirect oldVersion="0.0.0.0-8.1.14.618" newVersion="8.1.14.618"/>   
      </dependentAssembly> 

       <dependentAssembly>
                <assemblyIdentity name="MyCustomClassLibrary" culture="neutral" publicKeyToken="b56355033593b42e"/>
      </dependentAssembly>  

    </assemblyBinding>
  </runtime>

Also added the assembly reference as below:

<Telerik.Reporting>
<AssemblyReferences>
<add name="MyCustomClassLibrary" version="1.0.0.0" />
</AssemblyReferences>
</Telerik.Reporting>

The problem is that the library is not being loaded in the object data source list screen. I only managed to make it work for UNSIGNED class libraries located within the standalone designer's folder.
How can I make my strongly-named library installed in the GAC to load please?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 28 Jul 2014, 10:50 AM
Hello Walter,

This is a known issue, we have already logged in our system for improvement. The fix will be provided in consecutive release of Telerik Reporting.

Meanwhile, you can copy the assembly locally in the folder of the Standalon Designer, and it will be loaded automatically. You need to specify the version, culture and publicKeyToken attributes of the assembly. For more details check the Extending Report Designer help article, and the related resources at the bottom of the article.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Report Designer (standalone)
Asked by
wpsaila
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or