Common Language Runtime detected an invalid program
Jasmin Sehic
Posts: 6
Hi guys,
I decided to give SmartAssembly a try today after fiddling around with CliSecure and few others and I have to say big thumbs up to guys that made this. It is a stand out application when compared to other CLI protectors currently available on the market. It is currently on the top of my list to purchase.
I noticed a possible bug in version 6.5.1.6 where one of my assemblies I was protecting would throw 'Common Language Runtime detected an invalid program' exception if I set the Control Flow Obfuscation to Strictly Valid (supports Mono). If I have it set to None, Basic or Strongest the exception goes away. Possibly a bug in the Control Flow Obfuscation algorithm causing something that makes the output assembly not compatible with .NET Framework on this particular setting?
I have all .NET Frameworks installed and my application is targeting 2.0.
Thanks for you assistance and keep up the great work on this product.
I decided to give SmartAssembly a try today after fiddling around with CliSecure and few others and I have to say big thumbs up to guys that made this. It is a stand out application when compared to other CLI protectors currently available on the market. It is currently on the top of my list to purchase.
I noticed a possible bug in version 6.5.1.6 where one of my assemblies I was protecting would throw 'Common Language Runtime detected an invalid program' exception if I set the Control Flow Obfuscation to Strictly Valid (supports Mono). If I have it set to None, Basic or Strongest the exception goes away. Possibly a bug in the Control Flow Obfuscation algorithm causing something that makes the output assembly not compatible with .NET Framework on this particular setting?
I have all .NET Frameworks installed and my application is targeting 2.0.
Thanks for you assistance and keep up the great work on this product.
Comments
With regards to the issue with CFO, would it be possible to send the assemblies & saproj you're using to me (email link at the bottom of this post) so we can have a look and find out what's going wrong?
Thanks for trying it out
SimonC
Apparently this is fixed and will be working in the next release. There was some kind of issue with Control Flow obfuscation and filter blocks. Hopefully that makes some sort of sense to you.
ftp://support.red-gate.com/patches/Smar ... .5.2.8.zip
NOTE: anyone else experiencing this or any other problem, contact support before applying patches like this one.