将源文件索引到独立源服务器中,无需 TFS 2010
我有一个解决方案,它是使用 Visual Studio 2010 从命令行构建的。构建后,将调用 Windows 调试工具中的symstore
,将 PDB 和二进制文件发布到网络文件夹,然后将其用作符号存储。
我知道还有一个源服务器,我可以将其与符号存储一起使用来保存源文件。如何将源文件添加到该符号存储中?我看到调试工具中有一个 srcsrv 目录,但我找不到使用这些工具在现有源代码控制系统之外创建源服务器系统的方法
I have a solution, which is built using Visual Studio 2010 from a command line. After build, a symstore
from Debugging Tools for Windows is invoked to post PDBs and binaries to the network folder, which is then used as a symbol store.
I understand there also is a Source Server, which I could use together with Symbol Store to keep the source files. How do I have the source files added to that symbol store? I see there is a srcsrv
directory in Debugging Tools, but I cannot find a way to create a source server system outside existing source control system using those tools
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,您不会将源文件添加到符号存储中,而是在源代码控制系统中引用它们,并使用 Windows Source Server 根据需要将它们拉下来(就像处理符号一样)。
您必须在源文件上运行脚本以将信息添加到 pdb,此信息包含使用的文件版本以及稍后在调试以获取它们时使用的信息。
Typically you do not add the source files to the symbol store, instead you reference them in your source control systemm, and use Windows Source Server to pull them down as needed (just like it does with the symbols).
You must run a script on the source files to add info to the pdbs, this info contains which version of the files were used and is than used later when you debug to get them.