After installing the newest Paint.NET version(4.0.16), it just kept crashing after startup, and i can't even reinstall it, as the install wizard crashes just like the program itself. The weird thing is that i can't even close the error message.
heres the error txt (im portuguese):
System.Exception: ..\Direct2D\D2DRenderTarget.cpp (285) : hr = m_pRenderTarget->EndDraw(&d2dTag1, &d2dTag2); (PaintDotNet.Controls.PdnBanner)
em PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() na D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:linha 89
em PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
em PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DRenderTarget.EndDraw(Tag& tag1, Tag& tag2)
em PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) na D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:linha 667
em PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) na D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:linha 483
em PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) na D:\src\pdn\src\Framework\Controls\Direct2DControl.cs:linha 347
em PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) na D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:linha 184
em PaintDotNet.SystemLayer.GdiPaintHandler.RelayWndProc(Message& m) na D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:linha 233
em PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) na D:\src\pdn\src\SystemLayer\GdiPaintControl.cs:linha 130
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblies Carregados **************
mscorlib
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1637.0 built by: NETFXREL3STAGE
Base de Código: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SetupFrontEnd
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/SetupFrontEnd.exe
----------------------------------------
PaintDotNet.Core
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.Core.DLL
----------------------------------------
System.Windows.Forms
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1586.0 built by: NETFXREL2
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1637.0 built by: NETFXREL3STAGE
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1586.0 built by: NETFXREL2
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PaintDotNet.Base
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.Base.DLL
----------------------------------------
PaintDotNet.SystemLayer
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.SystemLayer.DLL
----------------------------------------
PaintDotNet.Framework
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.Framework.DLL
----------------------------------------
PaintDotNet
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.EXE
----------------------------------------
PaintDotNet.Resources
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/PaintDotNet.Resources.DLL
----------------------------------------
WindowsBase
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1638.0 built by: NETFXREL3STAGE
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1638.0 built by: NETFXREL3STAGE
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
PaintDotNet.SystemLayer.Native.x64
Versão do Assembly: 4.16.6315.38530
Versão do Win32: 4.16.6315.38530
Base de Código: file:///C:/Users/AOC/AppData/Local/Temp/PdnSetup/x64/PaintDotNet.SystemLayer.Native.x64.DLL
----------------------------------------
System.Windows.Forms.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1586.0 built by: NETFXREL2
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.6.1586.0 built by: NETFXREL2
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
i think it doesn't has anything to do with the program itself, as the install wizard is having the same problem.
screencap of the error message if that can help: