TFS2015 witadmin exportwitd 错误
TFS2015 witadmin exportwitd Error
我正在使用本地 TFS 2015(15.117.27024.0)。我创建了一个新的根项目并想导出工作项定义,这样我就可以添加一些不在默认布局中的字段,如 here
所述
我可以毫无问题地导出项目配置和类别。
我是运行的命令(将URL替换为example.com):
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\witadmin" exportwitd /collection:"https://tfs.example.com/tfs" /p:"Library" /n:"Feature" /f:"Library_Feature.xml"
结果:
API resource location 8637ac8b-5eb6-4f90-b3f7-4f2ff576a459 is not registered on https://tfs.example.com/tfs.
我几年前为另一个项目做过这个,但从来没有遇到过这个问题。
感谢您的帮助!
我在我这边测试过,无法重现你的问题,一切正常。
您可以尝试以下各项来缩小问题范围:
- 请检查您是否指定了正确的URL,确保没有
拼写错误。
- 在另一台安装了 VS 的机器上尝试 运行 导出命令。
尝试使用 Process Editor 导出 WIT 定义文件(Power
工具)
Visual Studio 2015 年:微软 Visual Studio 团队基础服务器
2015 电动工具
Visual Studio 2017 年:TFS Process Template Editor
您在 API 请求中缺少 集合名称:
错误:
/collection:http://MyServer:8080/
成功:
/collection:http://MyServer:8080/tfs/TeamProjectCollectionName
我正在使用本地 TFS 2015(15.117.27024.0)。我创建了一个新的根项目并想导出工作项定义,这样我就可以添加一些不在默认布局中的字段,如 here
所述我可以毫无问题地导出项目配置和类别。
我是运行的命令(将URL替换为example.com):
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\witadmin" exportwitd /collection:"https://tfs.example.com/tfs" /p:"Library" /n:"Feature" /f:"Library_Feature.xml"
结果:
API resource location 8637ac8b-5eb6-4f90-b3f7-4f2ff576a459 is not registered on https://tfs.example.com/tfs.
我几年前为另一个项目做过这个,但从来没有遇到过这个问题。
感谢您的帮助!
我在我这边测试过,无法重现你的问题,一切正常。
您可以尝试以下各项来缩小问题范围:
- 请检查您是否指定了正确的URL,确保没有 拼写错误。
- 在另一台安装了 VS 的机器上尝试 运行 导出命令。
尝试使用 Process Editor 导出 WIT 定义文件(Power 工具)
Visual Studio 2015 年:微软 Visual Studio 团队基础服务器 2015 电动工具
Visual Studio 2017 年:TFS Process Template Editor
您在 API 请求中缺少 集合名称:
错误:
/collection:http://MyServer:8080/
成功:
/collection:http://MyServer:8080/tfs/TeamProjectCollectionName