我正在尝试修改git-tfs。然而,我似乎无法构建它。
我做了什么:
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然而,子模块更新似乎没有完成它的工作-它没有获取任何源代码。
我做错了什么?
发布于 2013-02-28 21:08:49
在更新之前,你必须运行init:
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是假的,它可以让你运行大多数测试。
https://stackoverflow.com/questions/15133949
复制相似问题