如何更新源索引符号文件中的服务器名称?

发布于 2024-09-03 18:18:18 字数 253 浏览 9 评论 0原文

使用 Windows 调试工具,您可以针对符号文件运行 SSIndex.cmd,它将嵌入从 TF 服务器检索每个源代码文件的命令。我们有一堆索引文件,最近我们的 IT 将 TFS 2008 安装迁移到 TFS 2010,并在此过程中更改了服务器名称。问题是,如何更新所有这些符号文件以指向新服务器?我认为 SSindex 使用了名为“srcsrv”的备用数据流,但 SysInternals'streams.exe 在这些符号文件上没有显示任何内容,即使 srctool.exe 显示了数据。

With the Debugging Tools for Windows you can run SSIndex.cmd against your symbol files and it will embed the command to retrieve each source code file from the TF server. We have a bunch of indexed files and recently our IT migrated our TFS 2008 installation to TFS 2010 and in the process changed the server name. Question is, how can I update all these symbol files to point to the new server? I thought SSindex used an alternate data stream named 'srcsrv' but SysInternals' streams.exe shows nothing on these symbol files even though srctool.exe shows the data.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自由如风 2024-09-10 18:18:18

我给 Microsoft 的 WinDbg 团队发了电子邮件,得到的答案是在 srcsrv.ini 文件中定义 SERVER 变量,该文件进入 Visual Studio 的 Common7\IDE 目录(如果您使用 VS 进行调试)。

[variables]
FOOSERVER=http://servername.acme.com:8080/tfs/FOO/

其中 FOOSERVER 的 FOO 对应于您的 TFS 团队项目名称。

I emailed the WinDbg team at Microsoft and got the answer which is to define the SERVER variable in a srcsrv.ini file that goes into the Common7\IDE dir of Visual Studio (if you use VS for debugging).

[variables]
FOOSERVER=http://servername.acme.com:8080/tfs/FOO/

Where the FOO of FOOSERVER corresponds to your TFS team project name.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文