2022年11月14日

C#读写文件时出现占用的解决办法2

摘要: 打更新包时,提示文件被占用。 System.IO.IOException: 文件“****.exe”正由另一进程使用,因此该进程无法访问该文件。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 Syste 阅读全文

posted @ 2022-11-14 15:16 8888888888888 阅读(2182) 评论(1) 推荐(0)

C#读写文件时出现占用的解决办法

摘要: 一:错误提示: 二:解决办法: 在打开或者创建文件: FileStream fs = File.Open("TimegMsContent.xaml",FileMode.Open);更改为共享方式: FileStream fs = File.Open("TimegMsContent.xaml", Fi 阅读全文

posted @ 2022-11-14 15:07 8888888888888 阅读(1961) 评论(1) 推荐(0)

导航

Live2D