Could not load file or assembly 'Newtonsoft.Json," after obfuscation of a .net exe

0

Error:

System.IO.FileLoadException: The File or the Assemply "Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" is not found  (Exception of HRESULT: 0x80131040)
Filename: "Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"
   in DSharpPlus.Net.DiscordApiClient.<GetGatewayInfoAsync>d__122.MoveNext()

I guess the problem is DSharpPlus, because I use newtonsoft to get login details from a json file to connect to my login system, therefore the problem is with DSharpPlus. I get this error after obfuscation my programm. I used VMProtect 3.4 Ultimate but every other obfuscator also gives me a error: (for example the open source obfuscator: AsStrongAsFuck)

I hope somebody can help me, I'm trying it since 4 days.

c#
json.net
dsharp+
asked on Stack Overflow Mar 18, 2021 by Hans Mans

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0