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

Using wildcards for assemblyReferences version

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Karl asked on 16 Jun 2017, 07:51 AM
Is there any way to use wildcards for the version number of assemblyReferences for the Visual Studio designer? My package versions are updated every time they are compiled to ensure unique version numbers, obviously this means the version numbers that I have manually added to the config are out of date as soon as the project is compiled to run. I saw an old post saying the version can be removed for the sand alone designer, but what about the visual studio designer? Nothing I have tried has worked (removing the version number, using 1.0.*.*, etc).  I am using the newest version of the reporting tools.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 20 Jun 2017, 11:54 AM
Hi Karl,

If you are using Telerik Reports from a signed assembly, you can specify the report by its assembly qualified name like <namespace>.<report_class>, <assembly_name>.

If you are using data objects from a signed assembly, then you need security settings loading the external assemblies for the Reporting Engine. You can specify the version with * e.g.:
    <section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
    <Cache provider="" />
    <cache provider="" />
        <add name="SignedAssemblyTest" version="1.*.*.*" />
    <SessionState provider="" />
        <storage provider="" />
        <reportResolver provider="" />
The above must be in the ClassLibrary holding the reports, and in the project where reports are processed and rendered.

The attached demo projects illustrate the settings. The report displayed by the viewer is Report1 from ClassLibrary1. Report1 in SignedAssemblyTest is used as a sub report in Report1 of ClasLibrary1 to illustrate how it can be specified without the version.

If I am misunderstanding the scenario, please provide steps how to reproduce the issue locally.

Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question