Is there a way to specifiy the compiler flags that uMod uses to compile plugins?
Specifying compiler flags?Solved
No, sorry. What exactly are you wanting?
I was just messing around with something and wanted to use unsafe code, but it's no big deal.
Merged post
Is the compiler closed source? I tried adding /unsafe to Process.StartInfo.Arguments in CheckCompiler(), but I still get the "error CS0227: Unsafe code requires the `unsafe' command line option to be specified" error. I'm not sure if in `/service` mode it ignores those command line arguments.
Merged post
Is the compiler closed source? I tried adding /unsafe to Process.StartInfo.Arguments in CheckCompiler(), but I still get the "error CS0227: Unsafe code requires the `unsafe' command line option to be specified" error. I'm not sure if in `/service` mode it ignores those command line arguments.
No, it is on our GitHub, but can be a challenge to compile.
Could you please send me the link to the repo? I can't seem to find the one with the compiler.
Looks like I moved it awhile back: https://gitlab.com/theumod/tools/mono-compiler
Keep in mind that this compiler isn't going to be used going forward.
Keep in mind that this compiler isn't going to be used going forward.
Ok, thanks.
Locked automatically