Closed chendageshuonipangle closed 1 month ago
device_id: 92071B170B8479C49C1C9A9F28E0E253
Exception Data:
----------------------------------------
System.IO.IOException: The process cannot access the file 'C:\Users\28296\Documents\Hutao\UpdateCache\Snap.Hutao.Deployment.exe' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.Create(String path)
at Snap.Hutao.Extension.StorageFileExtension.OverwriteCopyAsync(StorageFile file, String targetFile) in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\Extension\StorageFileExtension.cs:line 15
at Snap.Hutao.Service.Update.UpdateService.LaunchUpdaterAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 98
at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 102
at Snap.Hutao.ViewModel.TitleViewModel.InitializeOverrideAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 61
at Snap.Hutao.ViewModel.Abstraction.ViewModel.InitializeAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 52
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
是无法卸载呀
相比之下你是怎么装上的
安装使用的是 ![Uploading 屏幕截图 2024-07-17 213531.png…]()
就是这个项目给的一键安装的文件
图片传完了再发评论
我也遇到了这个问题,并且也无法用任何方式安装最新版本,只能停留在1.10.6.0版本。而且卸载同样的报错。
最后将windows重置后得以解决,似乎是windows自带的wd异常会引起该工具箱异常。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.
检查清单
Windows 版本
Windows 11 Version 23H2
Snap Hutao 版本
1.10.7.0
设备 ID
92071B170B8479C49C1C9A9F28E0E253
问题分类
安装和环境
发生了什么?
你期望发生的行为?
可以删除软件
最后一步