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

VS updates project references to point to Telerik installation, not where I selected the file.

3 Answers 295 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Tayllor
Top achievements
Rank 2
Tayllor asked on 08 Aug 2013, 08:54 PM
Hi,

We add our telerik DLL's to source control and point to relative references in the solution.  While I was trying to update to the q3 2013 release, I added the references to the relative path (f:) copy of the dll's, but VS is updating the reference to my telerik installation copy (c:).  How do I disable this feature? 

3 Answers, 1 is accepted

Sort by
0
Dyanko
Telerik team
answered on 13 Aug 2013, 04:15 PM
Hi Tayllor,

Thank you for contacting us.

Would you please confirm that you are using Add referenced assemblies to solution feature while upgrading in order to add the Telerik Dlls under the source control?

If that is not what you want, please describe the case in more details so I can help you further.


I am looking forward to your response.

Regards,
Dyanko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Tayllor
Top achievements
Rank 2
answered on 13 Aug 2013, 04:55 PM
I was not using the Add referenced assemblies to solution feature.

I'm not sure what was changing the references.  For a while there, I was replacing the references, I started replacing each dll 1 by 1.  It was working fine, they would point to the desired location (f:), but after a few dlls, all the previously added telerik dll references would all get swapped to the installed location (c:).

I did manage to replace the dll's by deleting and replacing the files in the desired (f:) location.  The references were set to Specific Version=False, so that worked for me.  I didn't have to mess with the project references.

My setup:
I have our solution loaded from a TFS server on my f: drive.  This solution contains a lib folder that we keep a copy of all referenced dll files.  Each project in the solution then contains references to these dlls.  I also have the Telerik packages installed in the default location c:\Program Files (x86)\... We want the projects to point to the lib folder references.

Thank you, 
-Tayllor

  )
0
Accepted
Dyanko
Telerik team
answered on 16 Aug 2013, 03:45 PM
Hello Tayllor,

There is a Visual Studio issue, which shows a wrong path for referenced assemblies. I would suggest performing the following the steps in order to make sure, that the path to the referenced assemblies is pointing to your lib folder:
  1. Open your Solution in Visual Studio
  2. Select Unload project from the context menu of the project, in which the references are added
  3. Select Edit [ProjectName] project from the context menu
  4. Find the <hintpath> tags for the Telerik assemblies and check if it is pointing to your lib folder

Looking forward to your response.

Regards,
Dyanko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Installer and Visual Studio Extensions
Asked by
Tayllor
Top achievements
Rank 2
Answers by
Dyanko
Telerik team
Tayllor
Top achievements
Rank 2
Share this question
or