分享2个不同的项目CS文件使用Visual Studio 2010和Subversion [英] Share a CS file with 2 different projects using Visual Studio 2010 and Subversion

查看:174
本文介绍了分享2个不同的项目CS文件使用Visual Studio 2010和Subversion的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们是从SourceSafe迁移到Subversion作为我们的源代码控制...一切都进展顺利,到目前为止,除了我可以找出如何共享多个项目之间的文件。 SourceSafe中你犯了一个链接到该文件,然后将其添加到您的项目,那么源安全知道该文件是真的只是一个文件。你怎么做使用Subversion等价?

We are moving from SourceSafe to Subversion 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?

推荐答案

可以的add文件作为Visual Studio中直接在链接

这样做意味着你不必担心如何源代码控制将在源代码控制管理的事情,只要引用的文件 - 链接由VS管理

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.

这篇关于分享2个不同的项目CS文件使用Visual Studio 2010和Subversion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆