public static void SimpleTest()
            {
                Compiler compiler = new Compiler();

                try
                {
                    compiler.AddFile("Testfile.cs");
                    compiler.AddDependency("System.Windows.Forms.dll");
                    compiler.SetExecPath(".");
                    compiler.SetExecutableName("compilation_testing.exe");
                    compiler.CompileToPortableExec();
                    Debug.WriteLine("Simple test successfully compiled.");
                }
                catch (Exception ex)
                {
                    Debug.WriteLine("Caught exception during SIMPLETEST : " + ex.Message);
                }
            }
            public static void MonogameTest()
            {
                Compiler compiler = new Compiler();

                try
                {
                    compiler.AddFile(@"..\..\..\TestMonoGame\Game1.cs");
                    compiler.AddFile(@"..\..\..\TestMonoGame\Program.cs");
                    compiler.AddDependency("MonoGame.Framework.dll");
                    compiler.SetExecPath(".");
                    compiler.SetResourceFolder(@"..\..\..\TestMonoGame\Content");
                    compiler.SetExecutableName("PortableMonogame.exe");
                    compiler.CompileToPortableExec();
                    Debug.WriteLine("MonoGame Test successfully compiled.");
                }
                catch (Exception ex)
                {
                    Debug.WriteLine("Caught exception during MONOGAMETEST : " + ex.Message);
                }
            }
 public void Init()
 {
     compiler.AddDependency(@"Engine.dll");
     compiler.AddDependency(@"SavingSystem.dll");
     compiler.AddDependency(@"FileSystemManager.dll");
     compiler.AddDependency(@"Ultraviolet.Shims.Desktop.dll");
     compiler.AddDependency(@"Ultraviolet.BASS.dll");
     compiler.AddDependency(@"Ultraviolet.Core.dll");
     compiler.AddDependency(@"Ultraviolet.OpenGL.dll");
     compiler.AddDependency(@"Ultraviolet.OpenGL.Bindings.dll");
     compiler.AddDependency(@"Ultraviolet.SDL2.dll");
     compiler.AddDependency(@"Ultraviolet.ImGuiViewProvider.dll");
     compiler.AddDependency(@"Ultraviolet.FreeType2.dll");
     compiler.AddDependency(@"Ultraviolet.dll");
     compiler.AddDependency(@"MonoGame.Framework.dll");
     compiler.AddDependency(@"Aether.Physics2D.dll");
 }
 public static void AddDependencies(Compiler compiler)
 {
     compiler.AddDependency(@"Engine.dll");
     compiler.AddDependency(@"SavingSystem.dll");
     compiler.AddDependency(@"FileSystemManager.dll");
     compiler.AddDependency(@"Ultraviolet.Shims.Desktop.dll");
     compiler.AddDependency(@"Ultraviolet.BASS.dll");
     compiler.AddDependency(@"Ultraviolet.Core.dll");
     compiler.AddDependency(@"Ultraviolet.OpenGL.dll");
     compiler.AddDependency(@"Ultraviolet.OpenGL.Bindings.dll");
     compiler.AddDependency(@"Ultraviolet.SDL2.dll");
     compiler.AddDependency(@"Ultraviolet.ImGuiViewProvider.dll");
     compiler.AddDependency(@"Ultraviolet.FreeType2.dll");
     compiler.AddDependency(@"Ultraviolet.dll");
 }