Page 1 of 1

Error on protecting c# console application

Posted: Thu Jul 25, 2019 8:12 pm
by cocacola1131
Hello,

I'm having problems using the protection to a c# Console Application that I build. The .exe file already merged all necessary dlls (Costura.Fody)


[21:08:09] Loading project settings...
[21:08:09] Loading main information
[21:08:09] Loading Registration Features - Registration Data Storage
[21:08:09] Loading Registration Features - Common
[21:08:09] Loading Registration Features - Registration Dialog
[21:08:09] Loading Registration Features - Key Expiration Reminder
[21:08:09] Loading Checkup
[21:08:09] Loading Checkup - Anti Debugger
[21:08:09] Loading Checkup - Control Sum
[21:08:09] Loading Checkup - Startup Password
[21:08:09] Loading Checkup - File Name
[21:08:09] Loading Checkup - Disk Drive
[21:08:09] Loading Checkup - Executed Copies
[21:08:09] Loading Checkup - User Language
[21:08:09] Loading Checkup - External Files
[21:08:09] Loading Checkup - Executed Processes
[21:08:09] Loading Checkup - Loaded Drivers
[21:08:09] Loading Checkup - Installed Services
[21:08:09] Loading Checkup - Windows Version
[21:08:09] Loading Checkup - Virtualization Tools
[21:08:09] Loading Checkup - Privileges
[21:08:09] Loading Protection
[21:08:09] Loading Protection - Protected Strings
[21:08:09] Loading Protection - Resources Protection
[21:08:09] Loading VirtualBox
[21:08:09] Loading VirtualBox - Files
[21:08:09] Loading VirtualBox - Registry
[21:08:09] Loading VirtualBox - Packaging
[21:08:09] Loading VirtualBox - Options
[21:08:09] Loading Virtual Machine
[21:08:09] Loading Miscellaneous
[21:08:09] Loading Miscellaneous - Splash Screen
[21:08:09] Loading Miscellaneous - Watermark
[21:08:09] Loading Miscellaneous - Plugins
[21:08:09] Loading Miscellaneous - Custom VERSION Resource
[21:08:09] Loading Miscellaneous - Custom MANIFEST Resource
[21:08:09] Loading Miscellaneous - Command Line
[21:08:09] Loading Protection - Environment Variables
[21:08:09] Loading Miscellaneous - Other
[21:08:09] Loading Protection - Protection Events
[21:08:09] Loading Trial Control
[21:08:09] Loading Trial Control - Common
[21:08:09] Loading Trial Control - Trial Data Storing
[21:08:09] Loading Trial Control - Lock Trial to User Language
[21:08:09] Loading Trial Control - Limitation by Executions Count
[21:08:09] Loading Trial Control - Limitation by Days Count
[21:08:09] Loading Trial Control - Limitation by Expiration Date
[21:08:09] Loading Trial Control - Limitation from Date till Date
[21:08:09] Loading Trial Control - Limitation of Execution Time
[21:08:09] Loading Trial Control - Reminder
[21:08:09] Loading Trial Control - Time Control
[21:08:09] Loading License Manager database: C:\Userxxx
[21:08:09] - found 1 licenses and 0 are marked as stolen
[21:08:09] Protect file: c:\uxxxxx.exe
[21:08:09] ERROR: Unexpected exception: File already protected(compressed), protection stopped

Re: Error on protecting c# console application

Posted: Fri Jul 26, 2019 11:44 am
by Enigma
Hi

There are 2 ways how to fix the problem:
1. If you use any other tool to merge dlls with exe, then I recommend to switch to Virtual Box feature. In Enigma Protector, there is a feature Virtual Box, that merges any files to exe.
So you can use this feature for merning, instead of any other tools.
2. You can try to enable the option Miscellaneous - Other - Do not check if compressed.