While an image was saved in the backround, i closed Paint.NET. I lost the image and now every time i open it, it crashes.I unistalled it and now i am trying to reinstall i get this crash report:
System.TypeInitializationException: The type initializer for 'PaintDotNet.SystemLayer.FileSystem' threw an exception. ---> System.IO.IOException: The file or directory is corrupted and unreadable.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost)
at System.IO.Directory.InternalGetFiles(String path, String searchPattern, SearchOption searchOption)
at PaintDotNet.SystemLayer.FileSystem..cctor() in d:\src\pdn\paintdotnet\src\SystemLayer\FileSystem.cs:line 513
--- End of inner exception stack trace ---
at PaintDotNet.SystemLayer.FileSystem.TryDeleteFile(String filePath)
at PaintDotNet.Setup.InstallingPage.<DoInstallation>d__21.MoveNext() in d:\src\pdn\paintdotnet\src\SetupFrontEnd\InstallingPage.cs:line 928
at PaintDotNet.Threading.Tasks.IterativeTask.IterativeTaskAnon.<OnExecute>d__11.MoveNext() in d:\src\pdn\paintdotnet\src\Core\Threading\Tasks\IterativeTask.cs:line 33
at PaintDotNet.Threading.Tasks.IterativeTask`1.<>c__DisplayClass9.<StepTask>b__8() in d:\src\pdn\paintdotnet\src\Core\Threading\Tasks\IterativeTask`1.cs:line 74