首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >获取可构建的git-tfs

获取可构建的git-tfs
EN

Stack Overflow用户
提问于 2013-02-28 19:08:47
回答 1查看 202关注 0票数 1

我正在尝试修改git-tfs。然而,我似乎无法构建它。

我做了什么:

代码语言:javascript
复制
1. Read the readme which states for building: 
    1a. Update submodules. git submodule update to get the libgit2sharp dependencies.
    1b. Build with msbuild GitTfs.sln /p:Configuration=debug for the default debug build.
2. clone git-tfs: git clone git@github.com:git-tfs/git-tfs.git
3. git submodule update

然而,子模块更新似乎没有完成它的工作-它没有获取任何源代码。

我做错了什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-02-28 21:08:49

在更新之前,你必须运行init:

代码语言:javascript
复制
git submodule init
git submodule update

之后,要运行git-tfs的集成测试,您需要启动并运行XUnit:

https://github.com/git-tfs/git-tfs/wiki/Running-the-Unit-Tests

针对VS2012的XUnit测试运行器:http://visualstudiogallery.msdn.microsoft.com/463c5987-f82b-46c8-a97e-b1cde42b9099

要运行集成测试,您必须安装用于VS2008、2010和2012的TFS插件(团队资源管理器)。但是如果你不想运行这些项目(GitTfs.Vs2008、GitTfs.Vs2010和GitTfs.Vs11),你可以直接卸载它们。对于不同的Visual Studio版本来说,GitTfs.VSFake是假的,它可以让你运行大多数测试。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15133949

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档