neo-ConfuserEx
neo-ConfuserEx copied to clipboard
Service Crashes at start if used Neo-ConfuserEx
Describe the bug I have a Windows Service. I build it in release mode and obfuscate it using Neo-ConfuserEx. The service installs but fails to start.
Settings as below...
Expected behavior Service should start as if it is not obfuscated.
Screenshots


can you check if its a fatal error, in windows event viewer?
Yes. There is an error in Event Viewer.
Application Log
Service cannot be started. System.NullReferenceException: Object reference not set to an instance of an object. at .() at System.ServiceProcess.ServiceBase.DeferredStop() at .(String[] ) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
System
The LogicMoCCH24 service terminated with the following error: An exception occurred in the service when handling the control request.
I know what "Object Reference Not Set To An Instance" means, but these errors are not thrown if not Obfuscated.
Please help... let me know if any additional steps are needed to change in code to use obfuscation (Neo-Obfuscator) I am desperately in need.
--