Reference Strongly-named Assembly in Standalone report designer

2 posts, 0 answers
  1. wpsaila
    wpsaila avatar
    7 posts
    Member since:
    Aug 2006

    Posted 23 Jul 2014 Link to this post

    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?
  2. Stef
    Admin
    Stef avatar
    3042 posts

    Posted 28 Jul 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top