Source Control to use w/ CSLA for Silverlight solutions

Source Control to use w/ CSLA for Silverlight solutions

Old forum URL: forums.lhotka.net/forums/t/7804.aspx


skagen00 posted on Friday, October 16, 2009

These solutions obviously introduce heavy use of "linked files" ("add as link" from another project).

For those developing in CSLA w/ Silverlight, what source control solution are you using to accomodate this?

We no longer get to use TFS, would rather not use VSS, and so we're looking around at this point for a good option that supports linked files. Does Subversion support this concept?

Thanks!

sergeyb replied on Friday, October 16, 2009

Any solution will actually work because all links are stored inside csproj file.

Sergey Barskiy
Principal Consultant
office: 678.405.0687 | mobile: 404.388.1899

Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

-----Original Message-----
From: skagen00 [mailto:cslanet@lhotka.net]
Sent: Friday, October 16, 2009 12:11 PM
To: Sergey Barskiy
Subject: [CSLA .NET] Source Control to use w/ CSLA for Silverlight solutions

These solutions obviously introduce heavy use of "linked files" ("add as link" from another project).

For those developing in CSLA w/ Silverlight, what source control solution are you using to accomodate this?

We no longer get to use TFS, would rather not use VSS, and so we're looking around at this point for a good option that supports linked files. Does Subversion support this concept?

Thanks!

skagen00 replied on Friday, October 16, 2009

Well that is good to hear. I definitely saw that the links exist within the proj file. I could swear I ran into problems with VSS when I tried to introduce a first linked file and so I figured this must be a feature not necessarily supported in most source control products.

So it sounds like this is probably a non-issue then. Thanks.

Curelom replied on Friday, October 16, 2009

subversion works pretty well, especially if you are on the latest patches and using the ankh visual studio plugin and of course tortoise.

ajj3085 replied on Friday, October 16, 2009

I like SourceGear's Fortress / Vault product. Not too expensive, sql server backend for storage, and their support has been great.

cds replied on Friday, October 16, 2009

I'm using SVN - works perfectly fine.

Re the linked files in the projects, I had some intentions of looking at writing a VS plug-in to assist with this. E.g. build a plug-in that monitored specific folders in a project and then automatically added new files to the corresponding folders as links. Just a dream though for when I get a spare moment...

JonnyBee replied on Monday, October 19, 2009

Hi,

a VS plugin for linked files between projects is already available from P&P with full source code here:
Composite Application Guidance for WPF and Silverlight - February 2009

Download the installer MicrosoftPracticesProjectLinkerFeb2009.msi or full source code ProjectLinkerSourceFeb2009.exe.

You will also find some information on http://compositewpf.codeplex.com
=========================
Project linker – Overview
=========================

The approach we are taking for multi-targeting is to provide guidance on structuring application and module code into multiple linked projects. Each project manages all of the references, resources and code specific to the WPF or Silverlight target environment.
The Project Linker is a tool that helps creating and maintaining links from a source project to a target project to share code that is common to Silverlight and WPF. Therefore shared code can be written once and built for the target environment.
Filters can be specified to avoid linking every file, this is useful if you are writing Silverlight or WPF specific code. For example you can filter out all files that have a defined prefix.

To link a source project to a target project, right click the source project and select "Add Project Link". In the window that pops up select the target project and click OK.


cds replied on Monday, October 19, 2009

Wow... that sounds very cool! I will check that out.

Thanks!

Copyright (c) Marimer LLC