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

Referencing Telerik.Web.UI - Best Practice?

1 Answer 900 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard Weeks
Top achievements
Rank 2
Richard Weeks asked on 02 Dec 2010, 02:54 AM
At the moment, we reference Telerik.Web.UI.dll by browsing to the appropriate folder and adding the dll, so in the "Path" property of the Telerik.Web.UI reference Properties in VS we get something like:

C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q3 
2010\Bin40\Telerik.Web.UI.dll

Now, we are using Team Foundation Server 2010 and it goes off and looks for Telerik.Web.UI but TFS is installed on 64-bit so the installation folder the dll will end up in is:

C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 
2010\Bin40\Telerik.Web.UI.dll

Clearly, that's not going to work! My question is, what is the best practice method of referencing the many controls Telerik offer? If the answer can be in the scope of automated builds on TFS 2010, that would be really awesome but I'm interested regardless on what you do.

(Note: I've read that many developers create a folder in their solution and add / reference the DLLs from there. I reckon that would work but something about it doesn't gel with me. Not sure why, maybe lots of solutions having lots of copies of the DLLs).

Best,
Richard

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 06 Dec 2010, 04:06 PM
Hello Richard,

The recommended approach for achieving the desired functionality is to add the Telerik.Web.UI.dll in the Bin folder of the project and to make sure that the reference points to it.
Alternatively, all the people working on the project could add the dll in the GACs of their machines. You can see how this can be done here.

I hope this helps.

Kind regards,
Mira
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Richard Weeks
Top achievements
Rank 2
Answers by
Mira
Telerik team
Share this question
or