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

4 posts, 1 answers
  1. Tayllor
    Tayllor avatar
    13 posts
    Member since:
    Mar 2012

    Posted 08 Aug 2013 Link to this post

    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? 
  2. Dyanko
    Admin
    Dyanko avatar
    122 posts

    Posted 13 Aug 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Tayllor
    Tayllor avatar
    13 posts
    Member since:
    Mar 2012

    Posted 13 Aug 2013 Link to this post

    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

      )
  5. Answer
    Dyanko
    Admin
    Dyanko avatar
    122 posts

    Posted 16 Aug 2013 Link to this post

    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 >>
Back to Top