HI guys,
I'm using the new WSL2 (with Ubuntu 20). Opening, and "Saving as" from/to the WSL mount (\\wsl$\...) works perfectly fine with paint.net, but saving produces always this error:
Application version: paint.net 4.2.12
System.ComponentModel.Win32Exception (0x80004005): ReplaceFileW() returned FALSE (50, ERROR_NOT_SUPPORTED)
at PaintDotNet.SystemLayer.NativeUtilities.ThrowOnWin32Error(String message, Int32 lastWin32Error, Boolean alwaysThrow) in D:\src\pdn\src\SystemLayer\NativeUtilities.cs:line 89
at PaintDotNet.SystemLayer.FileSystem.ReplaceFile(String replacedFileName, String replacementFileName, String backupFileName) in D:\src\pdn\src\SystemLayer\FileSystem.cs:line 48
at PaintDotNet.IO.SaveTransaction.Commit() in D:\src\pdn\src\PaintDotNet\IO\SaveTransaction.cs:line 287
at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass246_1.<DoSaveImpl>b__6() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2794
at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:line 174
I guess ReplaceFileW is not available on WSL2 mounts. Not a show stopper but rather annoying^^
Thanks for the awesome application!
-Mewes