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

The referenced component 'Telerik.Web.UI' could not be found.

1 Answer 385 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sachinism
Top achievements
Rank 1
Sachinism asked on 28 Apr 2010, 03:10 PM
i am trying to develop a custom tree view web part  using telerik Rad controls in visual studio 2008 and iam getting fallowing warnings


Warning   1   Could not resolve this reference. Could not locate the assembly "Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   SFALibrary_DragnDrop

Warning   2   The referenced component 'Telerik.Web.UI' could not be found.    


in my assembly i hav differnt version of Telerik.Web.UI.

how can i replace the version?

any thoughts?

1 Answer, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 29 Apr 2010, 05:20 AM
Perhaps try an Assembly binding in the Web config?

<runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
            <dependentAssembly> 
                <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" /> 
                <bindingRedirect oldVersion="1.0.0.0-65000.65000.65000.65000" newVersion="2010.1.415.35" /> 
            </dependentAssembly> 
        </assemblyBinding> 
 

So this should forward just about every Telerik.Web.UI reference ever over to 2010.1.415.35
Tags
General Discussions
Asked by
Sachinism
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or