This is a paid asset, but now you can download FlexCompiler Free.
Detail this asset from Unity Store: Original Link
FlexCompiler v1.4 (Latest version)
UPDATED for Unity 3D 2019Introduction
FlexCompiler is a Unity3D editor extension intended as a handy tool for both asset publishers and game developers. It’s a simple GUI wrapper for csharp compilers(mcs, gmcs, smcs, csc, roslyn, etc.) to turn source codes to assemblies(dlls) right in Unity editor. It also features a basic obfuscation functionality(currently experimental).
What for?
– For publishers: to close source
– For developers: to reduce project re-compiling time
Features
– Simple workflow: drag – drop – compile
– Xml Documentation generating
– Assembly information configuring
– Compilers switching
– Preprocessor directives parsing
– Build arguments customizing
– Compiler tasks importing/exporting
– Chained/dependency tasks support
– Obfuscation support
– C# 7 Feature support
Documentation and Tips
flexframework.net