ConfuserEx
ConfuserEx copied to clipboard
DevExpress + ReferenceProxyProtection (strong mode) crashes
- ConfuserEx Version: 1.6.0
- Target Framework: 4.7.2
- Operating System: Windows 10 x64
Steps to Reproduce:
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraEditors;
namespace Test
{
public class Form1 : XtraForm
{
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
{
this.components.Dispose();
}
base.Dispose(disposing);
}
crproj:
<protection id="ref proxy">
<argument name="mode" value="strong" />
</protection>
The proitected application crashes inside OnClose event:
System.Security.VerificationException: Operation could destabilize the runtime.
at (XtraForm , Boolean )
at System.Windows.Forms.Form.WmClose(Message& m)
at DevExpress.XtraEditors.DForm.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)