Im already trying in testing different methods to add that dll to my clients file with no luck. Any help would be appreciated! Answering to question why im just cant use Newtonâs json dll is that its doesnt fit all my needs. Also all my DLLs placed in same folder that contain _resource.lua
Im trying to use it in my FiveM client dll with using, but its throw error about file cant found. I cant really figure out why dll cant be found if its in the folder same with resource.lua.
Okay, i can now load dll i wanted to, but i cant find out how to get .mdb for newest versions (For example for System.Net.dll i guess its 4.0.0.0 (Yes i know that i cant easly import it, but its only example))
Its throw error about FileNotFoundException, but if im include .mdb its all right, but i cant get mdb or pdb for new version of dll. Here is log with .mdb:
Loaded System.Net, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a into ScriptDomain_911901468
and without it:
Failed to run a tick for Client: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
For example: I need to use System.Net.dll on the client, the only way i can use it is include System.Net.dll.mdb to the clientâs files, but i can find only old version of mdb. Sorry for a misunderstanding on my part, I did not quite understand how to use System.Net.dll or another windows lib on the client.
⌠using .mdbs has nothing to do with being able to load a library or not, in addition to that the client is sandboxed so you wonât be able to use any APIs from such libraries anyway.