Skip to content

C#.NET Wrapper for the (mcs.exe) Mono Compiler - Compile Mono projects from your application

Notifications You must be signed in to change notification settings

Rottweiler/MonoCompiler-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#MonoCompiler-Wrapper C#.NET Wrapper for the (mcs.exe) Mono Compiler - Compile Mono projects from your application

Usage

MonoCompiler compiler = new MonoCompiler()
{
    Compiler_path = "mcs.exe",
    Platform = Platform.anycpu,
    SDK_version = 2,
    Target = Target.exe,
    Unsafe = true,
    Optimize = true,
    Language_version = LangVersion.Experimental,
    Reference_mscorlib = true
    //Icon = "path.ico"
};

var result = compiler.Compile("hello_world.cs", "hello_world.exe");
foreach(Error error in result.Errors )
{
    Console.WriteLine(error.Message);
}

About

C#.NET Wrapper for the (mcs.exe) Mono Compiler - Compile Mono projects from your application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages