DGML图使用绝对路径 [英] DGML graph uses absolute paths

查看:145
本文介绍了DGML图使用绝对路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用DGML创建有向图时,该工具使用绝对路径来存储源文件的位置,该文​​件包含插入DGML可视化工具中的方法.

When I create a directed graph using DGML, the tool uses absolute paths in order to store the location of the source file which contains the method inserted into the DGML visualizer.

这对于正在检入TFS存储库中的代码不利.在这种情况下,该工具应使用相对路径,因此即使在签入后也可以找到源文件.

This is not good for  code which is being checked in into the TFS repository. In this case the tool should use relative paths, so it will be able to find the source files even after check-in.

我没有找到任何方法来强制该工具使用相对路径.但是,当我在XML文件中手动将路径从绝对路径更改为相对路径时,它似乎可以正常工作.

I did not find any way to force the tool to use relative paths. However, when I change the path manually from absolute to relative in the XML file it seems to be working.

有什么办法强制该工具使用相对路径吗?

any idea how to force the tool to use relative paths?

Atzmon.


推荐答案

Atzmon

Hi Atzmon,

使用别名可以帮助您吗?

Would using aliases help you?


这篇关于DGML图使用绝对路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆