Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Change from NET 3.5 to 4.0, NetEncryptor won't work for me

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
DaveB



Joined: 08 Feb 2011
Posts: 15

PostPosted: Thu Mar 15, 2012 4:52 pm    Post subject: Change from NET 3.5 to 4.0, NetEncryptor won't work for me Reply with quote

I've changed my C# projects from .Net 3.5 to .Net 4.0, and now when I try to run NetEncryptor on the executables and dlls I get this message:

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
_________________
Dave
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Mar 15, 2012 10:16 pm    Post subject: Reply with quote

I think this is possibly because you may have changed the NetEncryptor.exe.config file to overcome an issue in previous versions with installing the .NET Encryptor license by forcing it to use .NET Framework 2. This issue is fixed in the latest version of .NET Encryptor (2.0.7).

Uninstall .NET Encryptor and delete the .NET Encryptor Program Files directory. Then download and install Version 2.0.7.

Also note that if you are using .NET 4 then you will need to change your bootstrap to use AssemblyLoader4x86.dll and you may need to also distribute the C++ runtime (see the section in help on "Deploying your Application"
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
DaveB



Joined: 08 Feb 2011
Posts: 15

PostPosted: Fri Mar 16, 2012 4:44 pm    Post subject: Reply with quote

Thanks, that did it.
_________________
Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
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