例外:卷不包含可识别的文件系统

时间:2013-05-16 08:17:32

标签: c# wpf xmlstreamreader

我创建了一个.net 4.5 wpf应用程序,用于反序列化xml文件。奇怪的是,我们得到了一个部署的工作站:

System.IO.IOException: The volume does not contain a recognized file system.
Please make sure that all required file system drivers are loaded and that the volume is not corrupted.

因为只有在使用带有ReadToEnd的StreamReader完成文件加载时才会读取设置文件。

知道为什么会这样吗?可能是操作系统引发了这个并认为硬盘被损坏了吗?

0 个答案:

没有答案