I've just downloaded confuserex (0.3.0), this sounds great, congratulations !
However i'm having some issues when trying to use it
First : This error occurs when I try to protect my project for the second time on a computer:
[ERROR] Failed to resolve dependency of 'MyApp.exe'.
Exception: dnlib.DotNet.AssemblyResolveException: Could not resolve assembly: wCvbicANEAGhcPcnMqWdIeAcvQtV, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
à dnlib.DotNet.Extensions.ResolveThrow(IAssemblyResolver self, IAssembly assembly, ModuleDef sourceModule) dans e:\Source\Public\Confuser2\dnlib\src\DotNet\IAssemblyResolver.cs:ligne 134
à Confuser.Core.ConfuserEngine.Inspection(ConfuserContext context) dans e:\Source\Public\Confuser2\Confuser.Core\ConfuserEngine.cs:ligne 254
Failed at 23:38, 0:00 elapsed.
I was able to protect without these errors a few minutes ago...
you can find below my configuration :
First question : In my code I have something like that :
string variable= File.ReadAllText("myfile.txt");
if (variable== "message")
{
System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("da");
}
This works fine but when I launch confuserex (when it was working...) on my project this few lines don't work anymore on my application's release version : I've tried MessageBox.Show(variable) and it shows "message" as expected but the if doesn't seem to work
Could someone explain me why ?
Second question, I want all my dll to have the same configuration except one which should also have constants encrypted, is my project's configuration ok ?
Thank you !
Hello,
I've just downloaded confuserex (0.3.0), this sounds great, congratulations !
However i'm having some issues when trying to use it
First : This error occurs when I try to protect my project for the second time on a computer: [ERROR] Failed to resolve dependency of 'MyApp.exe'. Exception: dnlib.DotNet.AssemblyResolveException: Could not resolve assembly: wCvbicANEAGhcPcnMqWdIeAcvQtV, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null à dnlib.DotNet.Extensions.ResolveThrow(IAssemblyResolver self, IAssembly assembly, ModuleDef sourceModule) dans e:\Source\Public\Confuser2\dnlib\src\DotNet\IAssemblyResolver.cs:ligne 134 à Confuser.Core.ConfuserEngine.Inspection(ConfuserContext context) dans e:\Source\Public\Confuser2\Confuser.Core\ConfuserEngine.cs:ligne 254 Failed at 23:38, 0:00 elapsed.
I was able to protect without these errors a few minutes ago... you can find below my configuration :
"< rule pattern="true" preset="maximum"> < protection id="anti tamper" /> < protection id="ctrl flow" /> < protection id="anti dump" /> < protection id="anti debug" /> < protection id="invalid metadata" /> < protection id="resources" /> < protection id="rename" /> < protection id="anti ildasm" /> < /rule> < module path="myApp.exe" /> < module path="encryptedDLL.dll"> < rule pattern="true" preset="maximum"> < protection id="constants" /> < /rule> < module path="myLib1.dll" /> < module path="myLib2.dll" /> < module path="myLib3.dll" />"
First question : In my code I have something like that : string variable= File.ReadAllText("myfile.txt"); if (variable== "message") { System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("da"); }
This works fine but when I launch confuserex (when it was working...) on my project this few lines don't work anymore on my application's release version : I've tried MessageBox.Show(variable) and it shows "message" as expected but the if doesn't seem to work
Could someone explain me why ?
Second question, I want all my dll to have the same configuration except one which should also have constants encrypted, is my project's configuration ok ? Thank you !