Yeah that'd be this project specifically: https://gitlab.winehq.org/mono/mono-basic
Looks like what's unimplemented is sending to Recycle Bin specifically: https://gitlab.winehq.org/mono/mono-basic/-/blob/main/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.FileIO/FileSystemOperation.vb#L316
The same problem happens with "Arma 3 Tools" (appid 233800) when using the included "AddonBuilder.exe" to build a mod.
2024-12-29 14:51:27,448 [ERROR] 1: AddonBuilder.Builder.Run - System.NotImplementedException: The method or operation is not implemented.
at Microsoft.VisualBasic.FileIO.FileSystemOperation.Delete () [0x0000e] in <7e034406f13c467db3be926c12188a6b>:0
at Microsoft.VisualBasic.FileIO.FileSystemOperation.ExecuteDirDelete () [0x00069] in <7e034406f13c467db3be926c12188a6b>:0
at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory (System.String directory, Microsoft.VisualBasic.FileIO.UIOption showUIOption, Microsoft.VisualBasic.FileIO.RecycleOption recycle, Microsoft.VisualBasic.FileIO.UICancelOption onUserCancel, Microsoft.VisualBasic.FileIO.DeleteDirectoryOption onDirectoryNotEmpty, System.Boolean showUI) [0x0000f] in <7e034406f13c467db3be926c12188a6b>:0
at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory (System.String directory, Microsoft.VisualBasic.FileIO.UIOption showUI, Microsoft.VisualBasic.FileIO.RecycleOption recycle) [0x00001] in <7e034406f13c467db3be926c12188a6b>:0
at AddonBuilder.Tasks.ClearTempTask.ExecuteImpl (System.Object state) [0x00028] in <2c41132e78634f46b3b4816175b6fe38>:0
at AddonBuilder.Tasks.BuildTask`1[T].Execute (System.Object state) [0x0001a] in <2c41132e78634f46b3b4816175b6fe38>:0
at AddonBuilder.Builder.Run () [0x00049] in <2c41132e78634f46b3b4816175b6fe38>:0
Implemented Recycle Bin support in Wine Mono: https://gitlab.winehq.org/mono/wine-mono/-/commit/70906828151fb4081761fee5f4c85110af5a6f5c
I'll try the instructions and see if I can retest this.
With an updated Wine Mono containing the new Recycle Bin support, and the P: drive manually created in winecfg, packing succeeded for me and created a Scripts.pbo file.
Nothing extracted yet.
Compatibility Report
System Information
I confirm:
Symptoms
Attempting to build a very simple DayZ mod, I get the following error log within the app itself (mirrored in the proton log too):
With my limited understanding (and loathing) of .NET, I imagine this might be happening because the Proton-provided .NET DLLs (Mono presumably?) would not be defining this specific method? Would make sense on the surface, however
Microsoft.VisualBasic.FileIO.FileSystemOperation.Deletefeels like such a basic function to not have implemented 😕.Reproduction
I doubt this whole setup is necessary to reproduce it. I am pretty sure that creating a basic .NET app that calls the
Microsoft.VisualBasic.FileIO.FileSystemOperation.Deletemethod would suffice. However, for reference here's the exact steps I took: