
Hi,
I use Actipro to create ribbon bar and create user activated nested toolwindows. Currently I use a program called 'Net Reactor' which obfuscates my code and dll's into a single executable (inc. the relevant Actipro ones), and everything works fine.
What I have done now is to serialize/deserialize the toolwindows by writing the DockSiteLayoutSerializer string to an external text file (which I then read in to restore).
This works OK, however when I obfuscate my application into a single executable and run my application I get a Microsoft error EventType : clr20r3 and by debugging I see that the following line causes the issue:
Dim MetaData = globalWindowsLayout.SaveToString(DockSite)
I have already created globalWindowsLayout as an app wide variable with the following
Dim globalWindowsLayout = New DockSiteLayoutSerializer
Just wanted to check if you have come across any issue before of using the serializer in obfuscated code/executable for any reason, before I also talk with the obfuscation vendor.
Thanks
Bret
I use Actipro to create ribbon bar and create user activated nested toolwindows. Currently I use a program called 'Net Reactor' which obfuscates my code and dll's into a single executable (inc. the relevant Actipro ones), and everything works fine.
What I have done now is to serialize/deserialize the toolwindows by writing the DockSiteLayoutSerializer string to an external text file (which I then read in to restore).
This works OK, however when I obfuscate my application into a single executable and run my application I get a Microsoft error EventType : clr20r3 and by debugging I see that the following line causes the issue:
Dim MetaData = globalWindowsLayout.SaveToString(DockSite)
I have already created globalWindowsLayout as an app wide variable with the following
Dim globalWindowsLayout = New DockSiteLayoutSerializer
Just wanted to check if you have come across any issue before of using the serializer in obfuscated code/executable for any reason, before I also talk with the obfuscation vendor.
Thanks
Bret