正由另一进程使用,因此该进程无法访问该文件

正由另一进程使用,因此该进程无法访问该文件  

 using (FileStream fs = new FileStream(AppFilePath, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite))
                {

  fs.Close();

先释放,再做其它操作。

}

 

posted @ 2015-09-07 18:04  Good凯  阅读(147)  评论(0编辑  收藏  举报