Red Gate forums :: View topic - Common Language Runtime detected an invalid program
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Common Language Runtime detected an invalid program

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Jasmin Sehic



Joined: 16 Nov 2011
Posts: 5

PostPosted: Wed Nov 16, 2011 8:52 pm    Post subject: Common Language Runtime detected an invalid program Reply with quote

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.
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Thu Nov 17, 2011 12:56 pm    Post subject: Reply with quote

Hi Jasmin; glad you like the product!

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
Back to top
View user's profile Send private message Send e-mail
Jasmin Sehic



Joined: 16 Nov 2011
Posts: 5

PostPosted: Thu Nov 17, 2011 1:31 pm    Post subject: Reply with quote

I've sent you an email with everything you have requested.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Mon Nov 21, 2011 4:23 pm    Post subject: Reply with quote

Hello,

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.
Back to top
View user's profile Send private message
Jasmin Sehic



Joined: 16 Nov 2011
Posts: 5

PostPosted: Mon Nov 21, 2011 4:48 pm    Post subject: Reply with quote

Thanks for your support. When is the next releases roughly expected to go out?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Mon Nov 21, 2011 6:15 pm    Post subject: Reply with quote

Can I let you know start of next week? We may have a build to send you but unfortunately I won't know till next Monday.
Back to top
View user's profile Send private message
Jasmin Sehic



Joined: 16 Nov 2011
Posts: 5

PostPosted: Mon Nov 21, 2011 6:23 pm    Post subject: Reply with quote

No problems.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Thu Nov 24, 2011 11:50 am    Post subject: Reply with quote

Can you please try the latest build:
ftp://support.red-gate.com/patches/Smart_Assembly/SmartAssembly_6.5.2.8.zip

NOTE: anyone else experiencing this or any other problem, contact support before applying patches like this one.
Back to top
View user's profile Send private message
Jasmin Sehic



Joined: 16 Nov 2011
Posts: 5

PostPosted: Thu Nov 24, 2011 11:57 am    Post subject: Reply with quote

New version works correctly now. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group