Unable to Ngen after protecting with Enigma

Post here messages if you have any problems with working of Enigma Protector
Post Reply
Sambasivamoorthy
Posts: 1
Joined: Tue Oct 29, 2013 7:41 am

Unable to Ngen after protecting with Enigma

Post by Sambasivamoorthy »

Hello,
I am trying to Ngen the exe file proctected by the enigma protector. I get the following error

Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4927
Copyright (c) Microsoft Corporation. All rights reserved.
Uninstalling assembly F:\test_protected.exe because of an error during compilation: Failed to load the runtime. (Exception from HRESULT: 0x80131700). Failed to load the runtime. (Exception from HRESULT: 0x80131700).

Any suggestions or recommendations?

When I checked MSDN forums I found the following

You can use ngen on obfuscated code - Technically, obfuscated code should be functionally identical to non-obfuscated code (it's all about messing with symbols and removing info that makes life easier to work with, not changing the code itself).

If you're running into problems with your code, you should contact your obfuscation vendor for support.

Someone can help me, how I can Ngen the enigma protected file.

Thanks.
tobis
Posts: 20
Joined: Fri Oct 12, 2012 8:36 pm

Re: Unable to Ngen after protecting with Enigma

Post by tobis »

Enigma Protector is not a obfuscater ! As far as I know if you want to Ngen your code you have to do this BEFORE you protect it with Enigma protector !
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Unable to Ngen after protecting with Enigma

Post by Enigma »

Thanks tobis, that's correct.
Post Reply