AutoUpdater.exe 被占用 返回讨论区:BUG报告区
请注意,这里仅供讨论与“SimpleUpdater.net”相关的问题和建议,请勿在此发表不相关的内容。
您当前尚未登录,将会以游客身份浏览。建议您登录后再进行操作。请点击 登录注册
AutoUpdater.exe 被占用
摩天居士谢 ,2019/9/12 17:54:36

版本:fishlee.net.simpleupdater.4.3.0.0

.net是4.0

调用方式: updater.StartExternalUpdater();

报错:

System.IO.IOException: The process cannot access the file 'C:\Users\admin\AppData\Local\Temp\54ff78a2-14a4-4b83-a48c-3f24b05cb8bb\AutoUpdater.exe' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
   at FSLib.App.SimpleUpdater.Updater.CopyAndStartUpdater(String[] ownerProcessList)
   at FSLib.App.SimpleUpdater.Updater.StartExternalUpdater(String[] ownerProcess)

1条信息/每页10
编辑器
回复
验证码
点击验证码框获得验证码。因为有人发广告,很抱歉必须使用验证码。登录后免输验证码