这是我的 C# 代码
files = Directory.GetFiles(@"\\MYREMOTESERVER123\\PATH1\\PATH2\\PATH3_20130315.4\\PATH4\\PATH5", "*.*");
我可以在本地开发机器上成功地针对 ABOVE 路径运行单元测试
\\MYREMOTESERVER123\PATH1\PATH2\PATH3_20130315.4\PATH4\PATH5
但是当这段代码在远程机器上运行时..我收到以下错误..
System.IO.DirectoryNotFoundException: Could not find a part of the path '\\MYREMOTESERVER123\PATH1\PATH2\PATH3_20130315.4\PATH4\PATH5\'
我不知道发生了什么..请帮助..谢谢..