Merging the telerik assemblies for deployment ( referenced assemblies embedded in EXE )

4 posts, 0 answers
  1. Ramon
    Ramon avatar
    11 posts
    Member since:
    Aug 2012

    Posted 05 Aug 2012 Link to this post


    Am new at using Telerik for WPF,

    so i created a WPF Telerik solution in VS and included the GridView component then
    it referenced the 4 Telerik  DLL's. added the Grid to the Mainwindow.XAML build the solution
    and all is Good.

    The problem is the Compiler spits out a bunch of Folders(EN FR DE JA TR ES ETC...) with the .EXE
    and Also included the 4 Telerik DLL's.

    Is it possible to build the Application and produce only the .EXE with the assemblies embedded in it and
    no Folder's for all those nations.i tried many methods with no success
    EX.( ILMerge - SmartAssembly also tried to place dlls as resource did not work either)
    I dont know what am doing wrong the app works but how to merge all those Dll's in it?

    I search your forms most examples are for WinForms and no (Telerik.WinControls.RadTypeResolver.Instance.ResolveTypesInCurrentAssembly = true;)
    similar method for WPF

    Thank you regards

  2. Vic
    Vic avatar
    36 posts
    Member since:
    Aug 2012

    Posted 09 Nov 2012 Link to this post

    Hello Ramon,

    Did you receive any help with this?

  3. Fabien
    Fabien avatar
    43 posts
    Member since:
    Sep 2008

    Posted 29 Nov 2012 Link to this post


    merging of WPF controls is simply a nightmare.

    First of all, I can propose you to try this scenarii:

    - protect your assemblies :
      (yeah I know, it's not a really good protection :s)
    - Embed assemblies with tools like smartassembly, theses tools have their own assemblies resolvers and proxy. (don't use ressources compression and encryption)

    ILMerge is not able to merge WPF assemblies. They contain resources with encoded assembly identities. ILMerge is unable to deserialize the resources, modify the assembly identities, and then re-serialize them.

    Anyway, if you can't buy tools like SmartAssembly, you can try to make your own assembly resolver :

  4. Vlad
    Vlad avatar
    11100 posts

    Posted 15 Jan 2013 Link to this post


    I've just posted a blog related to this. You can check it here:

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top