我在Azure中有几个使用相同数据(图片等)的VM,它们存储在具有文件服务设置的存储帐户中。
我运行https://azure.microsoft.com/en-in/documentation/articles/storage-dotnet-how-to-use-files/中提到的命令将驱动器挂载到VM上并保留凭据。
从我的c#代码中,我不断得到无法找到路径的异常。
An exception of type 'System.IO.DirectoryNotFoundException' occurred in mscorlib.dll but was not handled in user code
Additional information: Could not find a part of the path 'X:\Data\test'.