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

Visual Studio Can't find references after upgrade

1 Answer 297 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 05 Aug 2015, 01:26 PM

Hi 

    I have  a solution that contains many references to Telerik controls situated in the following catalog

 

C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2013\Binaries\Silverlight

 

I installed 2015 silverlight controls and now visual studio can no longer find the references (all except one). The folder is still there as are the dlls.

The references in the project file look like this

  <Reference Include="Telerik.Windows.Controls, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Data, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Docking, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\..\..\..\..\..\..\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2013\Binaries\Silverlight\Telerik.Windows.Controls.Docking.dll</HintPath>
    </Reference>
    <Reference Include="Telerik.Windows.Controls.GridView, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Input, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Data, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Documents, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Expression_Dark, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Office_Black, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Office_Blue, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Office_Silver, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Transparent, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Themes.Windows7, Version=2013.2.724.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
  </ItemGroup> 

 

 One dll has a hint path - Telerik.Windows.Controls.Docking, the rest do not. Viusal studio can find this reference but not the others - even after the upgrade (installation of the 2015 controls). On other computers where 2015 has not been installed the same .csproj exist and Visual Studio can find all the references.

I cannot simply re-add the references to the exact dll in the correct folder (so that all the references have a hint to the correct folder as the working reference does) as we do not have the rights to check in changes on that project. I also cannot change the project so that specific version is = false. I cannot change the project at all. I do however need to compile and run

 

How does visual studio find the Telerik references normally? Is it a registry setting that has been changed?

 

 

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 10 Aug 2015, 10:36 AM
Hello Shane,

Installing newer version of Telerik controls, shouldn't cause such issue with the references of a project. If the binaries are located in folder within the project Visual Studio would be able to resolve the references without having a hint path. However can you share some more details - have changed anything in the project? Also did you to try to clean/rebuild the solution as well as to delete bin/obj folders?

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Shane
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or