Compile a plugin via command-line to test?Solved

If someone used continuous integration for plugins, please share command line command for linux for testing or compiling some plugin. CI must check each plugin syntax on every git push event. Need to assembly docker image, but how I can check plugin for errors? In server we have `Compiler.x86_x64` file, I am jus try run it directly and obviously I get some error:
```
./Compiler.x86_x64
Corlib not in sync with this runtime: expected corlib string (CA4932AE-2294-4ECD-B863-BF98FDD84F33) but not found or not string
Loaded from: mscorlib.dll
Download a newer corlib or a newer runtime at http://www.mono-project.com/download.
```

Even I will install all mono libs and tools, I am sure, will have problem with compilaion and included libraries in plugins, for example:
```

using Oxide.Core;
using Oxide.Game.Rust;
using Oxide.Game.Rust.Cui;
using Oxide.Core.Plugins;
using Oxide.Core.Libraries;
using Oxide.Core.Configuration;
```

So, how to compile some plugin under linux from command line? Some easy way? Just need to be sure what plugin code don't containe syntax errors.

The compiler is not intended to be ran directly and will not work that way. You'd have to use msbuild or dotnet build and set up a project to test outside of the server setup.

Locked automatically