开发者

TFS branching with shared binaries

开发者 https://www.devze.com 2023-01-29 07:03 出处:网络
I\'m new to TFS, coming from an SVN background. I\'m looking to set up TFS for the first time, so we\'re making design decisions.

I'm new to TFS, coming from an SVN background. I'm looking to set up TFS for the first time, so we're making design decisions.

We plan on having binaries shared between team projects, and the recommended solution for this seems to be to make a team project specifically for the binaries.

The recommended directory structure for the main codebase seems to be:

/DevProjects/TeamProjectName/Main/Source/ProductName/Source/ProjectName

So my binaries would be at

/DevProjects/Binaries/

In my .csproj files, I'd reference the binaries as

../../../../../../Binaries/{BinaryFile}

This is fine for the main codebase, but also in the recommended standards is to put the branches as:

/DevProjects/TeamProjectName/Development/BranchName/Source/ProductName/Source/ProjectName

This is one level different from the main codebase, so the .开发者_Go百科csproj files wouldn't reference the right places.

My options seem to be to use an absolute path in the .csproj files (which I wouldn't even know how to do in the IDE since it does relative paths by default), or to branch differently from what I'm reading.

Any suggestions?


We make sure our branches are at the same depth as it would be in trunk. That way relative paths work in both places without modification.


Checked this place out. It talks about different branching concepts.

http://tfsguide.codeplex.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消