Closed Princekin closed 2 years ago
Adding probe paths like following may solve depending upon your target .Net version :
<probePath>C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.6</probePath>
<probePath>C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\6.0.6</probePath>
<probePath>C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\6.0.6\ref\net6.0</probePath>
<probePath>C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.9\ref\net6.0</probePath>
<probePath>C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\6.0.9\ref\net6.0</probePath>
<probePath>C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\6.0.9</probePath>
The problem was related to the assembly name. Using name mscorlib.exe
gives that error, any other works without problems.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
While trying to obfuscate a .net 4.0 x86 executable i get this error:
[ERROR] Failed to resolve a type, check if all dependencies are present in the correct version.
However i do not use any external dependency.
Full stacktrace:
Config used:
Only Control Flow - Maximum
(With anything else this error still however)