Sometimes code obfuscation impossible for some .NET assemblies.
There are several possible reasons for this situation. One possibility is that the bly you want to protect has internal component referencing problems. This issue can arise when some referenced DLLs or NuGet packages have coupling issues inside a project.
In earlier versions of the .NET Framework (1.0 through 4.8), blies did not encounter such issues because the .NET compiler would halt the build process with a compilation error if there were unresolved references, preventing the creation of the final .exe or .dll. However, in modern .NET versions, the compilers no longer enforce strict reference checks, allowing the final bly to be compiled even if some binary file references are missing or inaccurate.
In this scenario, the Skater Obfuscator code bler is unable to identify all external components referenced by the bly, causing the obfuscation process to fail. The bly includes implicitly defined references to external components specified in the project where it belongs.
To proceed, you have the following options:
Press
1 in the popup window to disregard these broken references. This will allow the obfuscation to continue, but the resulting bly may contain internal errors and may not function correctly.
Press
2 to proceed with obfuscation 'as is.' Be aware that the process might fail.
Press
Cancel to terminate the process.
In conclusion, Skater .NET Obfuscator navigates around this obstacle by excluding the compiler warning from the obfuscated code. However, we highly recommend addressing these issues by making the necessary corrections to your project before attempting to obfuscate the assembly.