Search code examples
tfsmsbuildpathtfsbuildunc

UNC build path in Team build (TFS)


I am pretty new to TFS so I have this problem when I want to set a destination directory to my build.

Every time I launch the build, it dramatically fails and says "couldn't find \xxxxxxx\yyyyy\zzzz".

I think that my UNC path is wrong.

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?

I've tried these : \\lemoos-PC\C\Project\

\\lemoos-PC\C:\Project\

\\lemoos-PC\Project\

but they don't seem to work.

Thanks in advance .


Solution

  • In your case, you should be able to use the following as your UNC drop location:

    \\lemoos-PC\C$\Project
    

    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.