开发者

How can I use SCM on linked files in VS2008 projects?

Background:

I'm using Visual-SVN V. 1.7.5 with VS2008. I'm fairly new to SVN.

I have a Solution that uses source files that will be shared with other Solutions.

I've put these files in a folder called "Shared", and added them to my Solution using

"Add -> Existing Item... -> Add As Link"

which works fine as far as VS2008 is concerned.

But when I try to add the linked files to SVN using the "Add to Suversion" menu item on the file's context menu, I get a warning:

"...not added to Subversion because it is out of working copy. Please setup working copy root using Visual SVN -> Set Working Copy Root menu".

I tried this, but this seems to change the root directory of the whole solution - not what I want to do.

Googling and searching SO indicates that I may want to set up some SVN Externals. I tried to follow the examples, using the command line for the first time with Visual-SVN. But I just got a bunch of error messages I didn't understand.

Questions:

  1. Are Externals the way to go here?

  2. If so, can someone provide some detailed, step-by-ste开发者_如何学JAVAp help on how to do this with Visual-SVN?


If all else fails, switch to AnkhSVN, it handles them correctly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜