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

Embed bindingRedirect in EXE

1 Answer 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 27 Jun 2014, 05:17 PM
We are having to redirect the bindings for the Telerik controls since we are using 2013.3.1316.40 and the reporting is looking for 2013.3.1016.40.  We would like to not have to push down 8 config files to every one of our systems only to have to delete or update the config file when we no longer need the redirect.

Does anyone know of a way to embed the bindingRedirect into the EXE itself?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 02 Jul 2014, 01:05 PM
Hello Brandon,

There are several ways to instruct the runtime to load a .NET Framework assembly with a different version than that of the loaded runtime:
  • Add settings in the application configuration file.
  • Add settings in the machine configuration file.
  • Create a publisher policy file that is distributed with a component to specify which assemblies a component should use.

The publisher policy file specifies assembly redirection and code base settings, and uses the same format as an application configuration file. The publisher policy file is compiled into an assembly and placed in the global assembly cache. For more details on the topic, please refer to the Assembly Binding Redirection and How to: Create a Publisher Policy MSDN articles.

Regards,
Nasko
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
General Discussions
Asked by
Brandon
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or