加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – VS 2008 – Star Team和多项目解决方案?

发布时间:2020-12-15 21:23:18 所属栏目:百科 来源:网络整理
导读:我有一个项目,通过VS 2008中的Star Team进行源代码控制.我在我的解决方案中添加了另一个项目,用于安装程序,配置,测试等等.现在,当我使用新安装程序检查我的解决方案时,我收到以下警告: The project that you are attempting to add to source control may c
我有一个项目,通过VS 2008中的Star Team进行源代码控制.我在我的解决方案中添加了另一个项目,用于安装程序,配置,测试等等.现在,当我使用新安装程序检查我的解决方案时,我收到以下警告:

The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem,add the project from a location below the binding root of the other source controlled projects in the solution.

有继续或取消选项.

我的项目目录如下所示:

/Proj1/
    Proj1.sln
    /Proj1/
        .cs files
        .csproj
        /bin/,etc
    /Proj1_Installer/
        Proj1_Installer.vdproj
        /Debug/
        /Release/

有什么根本我缺席的吗?

解决方法

新解决方案的文件应与源控件中已有的项目位于同一位置.例如,如果您有来自源代码管理的现有代码

Source
  Project1
     program.cs
  Proejct2
     program.cs

那么你需要将你的新项目放在同一个文件夹和project1和project2中

Source
  Project1
     program.cs
  Proejct2
     program.cs
  NewProject

“从解决方案中其他源控制项目的绑定根目录下方的位置添加项目”如果您决定将其添加到驱动器上的“MyProjects”文件夹,则其他人将无法从源代码控制中获取该项目.

我建议如果您的物理文件夹结构实际上是这样,请使用记事本验证解决方案文件并检查路径.也许它正在引用它

....Path1Path2

代替

.Path2

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读