Oct 27, 2017 11:38 AM
(This post was last modified: Oct 27, 2017 12:47 PM by gigajew.)
I've written this thread twice now and Microsoft Edge browser removed my text and backed me out. Needless to say jimmies have been rustled, so I'll populate this with information later. New versions of this compiler wrapper will be posted in this thread. If not in the OP, then in a reply.
Usage
Features
Usage
Code
class Program
{
static void Main(string[] args)
{
var compiler = new Compiler();
var settings = new CompilerSettings("Stub");
// populate settings
settings.AddSource(Properties.Resources.source);
settings.BuildMode = BuildMode.Release;
settings.BuildType = BuildType.Console;
// compile
var result = compiler.Compile(settings, "outputAssembly.exe");
// display result to user (built-in!)
compiler.DisplayResult(result);
}
}Features
- Easy to use properties (even for beginners)
- Easily add resources from byte[], stream, or filename
- Built-in result prompt, asks if you want to open the output directory
- Version 0.1 (pre-release) https://pastebin.com/8CFx3ZYV
- Version 0.2 https://pastebin.com/VY0ksysT
![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)


