System.IO.IOException: 无法加密指定的文件。 : 'F:\gal\Café Stella and the Reaper's Butterflies.PotatoVN\39806.jpg'
at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at GalgameManager.Services.GalgameCollectionService.SaveMetaAsync(Galgame galgame)
at GalgameManager.Services.GalgameCollectionService.SaveGalgamesAsync(Galgame galgame)
at GalgameManager.ViewModels.PlayedTimeViewModel.Edit()
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b0()
系统信息
Bug描述 请简单描述一下什么地方bug了。
Bug复现 按照以下步骤可以产生这个bug:
截图 如果方便的话,提供截图可以让我们更快的修复bug哦~
System.IO.IOException: 无法加密指定的文件。 : 'F:\gal\Café Stella and the Reaper's Butterflies.PotatoVN\39806.jpg' at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at GalgameManager.Services.GalgameCollectionService.SaveMetaAsync(Galgame galgame) at GalgameManager.Services.GalgameCollectionService.SaveGalgamesAsync(Galgame galgame) at GalgameManager.ViewModels.PlayedTimeViewModel.Edit() at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b 0()
系统信息