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

Silverlight Application and TFS Branching

2 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 2
Peter asked on 04 Oct 2011, 05:47 PM
I'm using TFS 2010 for source control.  I've noticed that everytime I branch my project the projects "forget" that they area Telerik Silverlight Applications and I have to go through each project and convert them back to Telerik Silverlight Applications. 

Where is the information stored that marks a project as a Telerik Application?  Is there a way to get this information into TFS so that everytime I need to make a new branch I don't have to go through this?  My application contains many projects and it takes quite a while to convert all of the projects.

Thanks,
-Pete

2 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 2
answered on 17 Oct 2011, 11:15 PM
Should I post this in a different section?  Does Telerik look here?
0
Petar
Telerik team
answered on 18 Oct 2011, 09:55 AM
Hello Peter,

One Silverlight project is a Telerik one if it has references to the RadControls for Silverlight assemblies. This is the only one indicator.

The reason why your projects "forget" that they are Telerik projects is that when you branch you break all references to the Telerik assemblies because they are specified using a relative path in each proj file.

I have two suggestions how to avoid the problem. The first is to change each Telerik assembly references to use absolute path (you can edit the proj file of the project).

The second suggestion is to copy all Telerik assemblies under the folder of your branch and reference them from this location. This way each time you branch you will branch the binaries too and no references will be broken.

I hope that the information was helpful. If any further questions arise, please write us again.

Kind regards,
Petar
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Peter
Top achievements
Rank 2
Answers by
Peter
Top achievements
Rank 2
Petar
Telerik team
Share this question
or