Was working on two files the other night and one opens just fine but the other gives me this error message:
Exception:
System.FormatException: file is not a valid paint.net document
at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\src_4_3_x\Data\Document.cs:line 1344
at PaintDotNet.Data.PdnFileType.OnLoad(Stream input) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\PdnFileType.cs:line 33
at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src_4_3_x\Data\FileType.cs:line 491
at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src_4_3_x\Fundamentals\Functional\Func.cs:line 60
I can tell from the thumbnail that the file is saved. This file is days of work and I would be so thankful for a solution! Thank you!