Wrong DLLs referenced when telerik is installed

3 posts, 1 answers
  1. Ben Boger
    Ben Boger avatar
    19 posts
    Member since:
    May 2010

    Posted 22 Jul 2011 Link to this post

    For a large project the telerik dlls are copied from one place and referenced in another. This works fine and there is no problem with it as long as telerik is NOT installed. Once telerik is installed if someone tries to reference a telerik dll from the location it needs to be referenced from, it changes the path to be that of the installed telerik dlls path.
    This is a big problem, is there some way to fix this? I don't mind having it installed if there is a reason to have it installed.
    More importantly, what benefit do we have to actually have telerik installed with our copy of visual studio.
  2. Answer
    Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 25 Jul 2011 Link to this post

    Hi Ben,

    The problem is most probably caused by a specific Visual Studio behavior regarding assembly references. Here is some more information of what we discovered about that:
        To get Visual Studio display the Telerik assemblies in the "Add Reference" and "Choose Toolbox Items" boxes of Visual Studio, the installer registers them to the

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\RadControls for WPF Q2 2011
    (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\RadControls for WPF Q2 2011 for 32-bit machines)

        Unfortunately, it seems there is some kind of a conflict in Visual Studio regarding these, which causes different-versioned references, added to a project to point to the installed RadControls version. This is usually solved by:
        - Closing all Visual Studio instances;
        - Deleting the above mentioned key;
        - Loading the project into Visual Studio and re-setting the references.

    We are analyzing this behavior of the IDE in depth and will do our best to have it fixed either by contacting the Visual Studio team, or by adding some specific logic in the Telerik installer and the VSExtensions.

    As per the benefits of the installation you asked, the installers:
        - automatically install the Live Demos to your machine;
        - register the newest Toolbox items to Visual Studio;
        - install the latest version of the VSExtensions to the machine (capable of automatically detecting, reporting and downloading of newer RadControls versions available on the Telerik website);
    Of course, you could use the online versions of the Live Demos. You can download/update the VSExtensions through the Visual Studio Online Gallery and use the VSExtensions to manage the Toolbox registrations.

    Let me know if these help.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Ben Boger
    Ben Boger avatar
    19 posts
    Member since:
    May 2010

    Posted 25 Jul 2011 Link to this post

    perfect. Exactly what I needed to know, thank you!
Back to Top