Error on .NET6 windows app protection.
Posted: Tue Oct 10, 2023 7:08 am
Here is the debug infomation.
System.NotSupportedException: Cannot dynamically create an instance of type 'System.Runtime.CompilerServices.DefaultInterpolatedStringHandler'. Reason: Cannot create boxed ByRef-like values.
at 11A9AE36.A08AA13B()
at 11A9AE36.F2A50FAC(Object[] DA98B388, Int32 DCA75F26)
at D492CB3D.F1B208A9(Object 6E0A6B14, EventArgs 1C39770D)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
System.NotSupportedException: Cannot dynamically create an instance of type 'System.Runtime.CompilerServices.DefaultInterpolatedStringHandler'. Reason: Cannot create boxed ByRef-like values.
at 11A9AE36.A08AA13B()
at 11A9AE36.F2A50FAC(Object[] DA98B388, Int32 DCA75F26)
at D492CB3D.F1B208A9(Object 6E0A6B14, EventArgs 1C39770D)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)