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

Wrong DLLs referenced when telerik is installed

2 Answers 163 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Ben Boger
Top achievements
Rank 1
Ben Boger asked on 22 Jul 2011, 08:25 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Erjan Gavalji
Telerik team
answered on 25 Jul 2011, 10:09 AM
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!

0
Ben Boger
Top achievements
Rank 1
answered on 25 Jul 2011, 02:18 PM
perfect. Exactly what I needed to know, thank you!
Tags
Installer and Visual Studio Extensions
Asked by
Ben Boger
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Ben Boger
Top achievements
Rank 1
Share this question
or