So after a few hours of packing, it finally finished, but it ended with an error.
System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at SkyEditor.Core.Utilities.AsyncFor.<RunForEach>d__42`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DS_ROM_Patcher.ModBuilder.VB$StateMachine_77_BuildMod.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.ROMEditor.Projects.GenericModProject.VB$StateMachine_41_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Projects\GenericModProject.vb:line 281
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Projects.SkyStarterModProject.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Projects\SkyStarterModProject.vb:line 119
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()<---
<---