团队构建(TFS)中的UNC构建路径 [英] UNC build path in Team build (TFS)
问题描述
我对TFS还是很陌生,所以当我想为我的构建设置目标目录时遇到这个问题.
I am pretty new to TFS so I have this problem when I want to set a destination directory to my build.
每次启动构建时,它都会严重失败并显示找不到\ xxxxxxx \ yyyyy \ zzzz".
Every time I launch the build, it dramatically fails and says "couldn't find \xxxxxxx\yyyyy\zzzz".
我认为我的UNC路径错误.
I think that my UNC path is wrong.
假设我的放置目录(目标目录)为"C:\ Project \",计算机名称为"lemoos-PC",那么相当于UNC表示法的路径是什么?
Let's assume that my drop directory (destination directory) is "C:\Project\" and my computer name is "lemoos-PC", what would the equivalent of my path in UNC notation?
我已经尝试过这些:
\\lemoos-PC\C\Project\
I've tried these :
\\lemoos-PC\C\Project\
\\lemoos-PC\C:\Project\
\\lemoos-PC\Project\
但它们似乎不起作用.
谢谢.
推荐答案
在您的情况下,您应该可以将以下内容用作UNC放置位置:
In your case, you should be able to use the following as your UNC drop location:
\\lemoos-PC\C$\Project
C$
是特殊的管理"共享,通常在您的计算机上已经可用. $
使其成为 hidden 共享,可防止其他人浏览到\\lemoos-PC
并将其列出.其他人只有在以下两个条件下才能访问它:a)知道共享的名称,并且b)对计算机具有管理访问权限.
C$
is a special 'administrative' share that is normally already available on your machine. The $
makes it a hidden share that prevents other people from browsing to \\lemoos-PC
and seeing it listed. Other people can only access it if they both a) know the name of the share and b) have administrative access to the computer.
这篇关于团队构建(TFS)中的UNC构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!