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

Local folder reference to Telerik assemblies?

7 Answers 672 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Todor
Top achievements
Rank 1
Todor asked on 07 Jun 2010, 01:50 PM
Hi, 
Is it OK to copy all telerik control assemblies to a local project folder and put a reference to the local folder instead of the SDK installation folder 'C:\Program Files\Telerik\RadControls for WPF Q1 2010\Binaries\WPF' ?

The reason behind this is that I want the referenced assemblies to be to be tied to project through source control and allow other developers to get a latest version with a fully-functional version of the project without needing to install the complete SDK first. I've been able to do that and the project is building and running correctly, but the controls will not display in Blend (v.4 RC). I copied the 'design' folder as well as the language-specific-resource assemblies (de, es, it, nl, tr). Am I missing something? Thanks!

7 Answers, 1 is accepted

Sort by
0
Yavor
Top achievements
Rank 1
answered on 10 Jun 2010, 08:29 AM

You might try the following:
1. Change the your project's assembly references to point at the output folder of the Telerik controls' source code projects. 2. Open the Telerik sources with Visual Studio and set breakpoints in 'Navigation.Design' project.
3. Start debugging the project with 'Attach to process'... and choose Blend (should be running)
4. Open your original project in Blend an open the problematic view in design mode.
5. See if your breakpoints get called and check for exceptions thrown. This should give you more details about the problem you are having. Hope this helps.

 

 

0
Boyan
Telerik team
answered on 10 Jun 2010, 12:34 PM
Hi Todor,

Do you have the assemblies added as references in your project  as the problems occur. If you change the path of the binaries you want be able to see RadControls for Silverlight tab in Assets. But if you add references in the project pointing to this assemblies they should show in Assets->Locations->"Name of the dll"( like in the screenshot I have attached).
Another thing you can try is to change the Blend registry entry of our installation to the new path. Go here:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Expression\Blend\4.0\Toolbox\Silverlight\v4.0\RadControls for Silverlight Q2 2010    and change the entry to the folder where you copied our assemblies. That should show the Telerik Tab into Assets again.


All the best,
Boyan
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Todor
Top achievements
Rank 1
answered on 10 Jun 2010, 02:51 PM
Thanks Boyan,

I'm running a 32-bit version of Windows 7 and I don't have a Wow64to32 entry in the registry.  Also, I am developing a WPF desktop application, not a silverlight one. Can you please tell which should be the registry key in my case?
0
Boyan
Telerik team
answered on 15 Jun 2010, 05:34 PM
Hello Todor,

Sorry, my bad I didn't saw the ticket was for WPF. The entry for WPF should be without the Wow64to32 as you are using 32 bit OS.
HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft\Expression\Blend\3.0\Toolbox\WPF\v3.5\RadControls for WPF Q2 2010

Let me know how it goes.

Best wishes,
Boyan
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Todor
Top achievements
Rank 1
answered on 16 Jun 2010, 01:42 PM
Thanks, this should do the trick. However, this won't entirely solve my original concern - I want to be able to have a complete set with the referenced assemblies included into each project (the designer assemblies as well if necessary) so that each project is self-contained and designable with Blend. This way you can get the project from source control and have it working right away.

It seems to me though that such kind of behavior wasn't initially intended, so I guess I will take it the way it is and reference all assemblies with an absolute path in the program files folder. Thanks once again for your time.
0
Boyan
Telerik team
answered on 23 Jun 2010, 09:29 AM
Hello Todor,

Sorry for the late reply.
Maybe there is some kind of misunderstanding what exactly is the problem. When your projects reference assemblies from local project folder, you can't see our controls in Assets Tab or can't edit the control properties and design time throw error for some of the already added to the xaml controls.

I tried the following:
1. Created simple project and referenced Controls and Input DLL's from my desktop where I copied it from the installation.
2. Created RadCombobox and RadCalendar in the project and this was all made in VS2010.
3.  Opened the project in Blend 4.0 and the Calendar and Combo where there and I was able to access their properties and edit them. Also in the Assets tab I can see all controls from Controls and Input dll's. They were in Assets->Locations->"Name of the dll" .

Could you please tell me if you are doing something else and what exactly is the problem. Any error you are getting after opening the project in blend would be of help. By the way are you putting the design assemblies directly in the folder of the Control's DLL's or keep them in a design folder.

 

Kind regards,
Boyan
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Todor
Top achievements
Rank 1
answered on 23 Jun 2010, 11:03 AM
Hi Boyan,

I keep the design assemblies in the design folder. I reference the runtime assemblies only, not the design ones. I have the following structure:

Project Folder:
Telerik.Windows.Controls.Navigation.dll (with project reference)
(Other Telerik assemblies)...

Project Folder \ design:
Telerik.Windows.Controls.Navigation.Design.dll
Telerik.Windows.Controls.Navigation.Expression.Design.dll
Telerik.Windows.Controls.Navigation.VisualStudio.Design.dll, etc.
(Other Telerik design-time assemblies)...

When I find the time I will create a simple project to demonstrate it. However, our team already moved on from this issue by referencing the assemblies in the installation folder and having it this way is acceptable enough. We might reconsider this issue later when we mange to fit it in our project time plan and then I will get back to you. Thanks for your time once again.
Tags
General Discussions
Asked by
Todor
Top achievements
Rank 1
Answers by
Yavor
Top achievements
Rank 1
Boyan
Telerik team
Todor
Top achievements
Rank 1
Share this question
or