mkaring / ConfuserEx

An open-source, free protector for .NET applications
https://mkaring.github.io/ConfuserEx/
MIT License
2.26k stars 349 forks source link

Not work on machine where net framework 4 was not installed before #539

Open SSxQ opened 11 months ago

SSxQ commented 11 months ago

Steps to Reproduce:

  1. Install obfuscated app on Windows 7, where Net Framework 4.0 is not installed.
  2. Install Net Framework 4.0 and do reboot (our app dont work without nf4.0)
  3. App crashes if there is something, that need nf 4.0

In logs i see, that for example System.TypeLoadException: Could not load type 'System.Windows.Input.ICommand' from assembly 'System, Version=4.0.0.0, Culture=neutral, ... But if i do the same steps with app without obfuscation, it starts normally

I tried with minimal ofuscatin - only with watermark and result was the same

SSxQ commented 11 months ago

On ConfuserEx 1.1.0 everything is ok, but in ConfuserEx 1.2.0 problem already exist