View previous topic :: View next topic |
Author |
Message |
DaveB
Joined: 08 Feb 2011 Posts: 15
|
Posted: Thu Mar 15, 2012 4:52 pm Post subject: Change from NET 3.5 to 4.0, NetEncryptor won't work for me |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Mar 15, 2012 10:16 pm Post subject: |
|
|
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 |
|
|
DaveB
Joined: 08 Feb 2011 Posts: 15
|
Posted: Fri Mar 16, 2012 4:44 pm Post subject: |
|
|
Thanks, that did it. _________________ Dave |
|
Back to top |
|
|
|