开发者

Share a CS file with 2 different projects using Visual Studio 2010 and Subversion

We are moving from SourceSafe to S开发者_C百科ubversion as our source control provider... All is going well so far except I can figure out how you "share" a file between more than one project. In sourcesafe you made a link to the file and then added it to your project, then source safe knew that the file was really just one file. How do you do the equivalent with Subversion?


You can add a file as a link within Visual Studio directly.

Doing this means you don't have to worry about how your source control will manage things, so long as the referenced file in in source control - the link is managed by VS.


You're looking to share a CS (as in a code file) between 2 projects? From an design aspect, why not extrapolate that file into it's own project and then reference that project from the other projects.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜