I would like to use in code classes from some .dll, how can I do this? Or I need to rebuild Oxide?
Solved Include .dll
Discussion in 'Rust Discussion' started by blender-narod, Apr 8, 2015.
-
Wulf Community Admin
What are you trying to include?
-
C# classes library.
-
A managed DLL can be referenced by C# plugins using "// Reference: Some.Assembly.Name" at the top of the plugin.
PInvoke on the other hand is disallowed by the plugin sandbox, so the only way to use native DLLs is by wrapping them with an extension. -
Thanks a lot!