protected override BuildResult OnCompileSources(ProjectItemCollection items, DotNetProjectConfiguration configuration, ConfigurationSelector configSelector, MonoDevelop.Core.ProgressMonitor monitor) { monitor.Log.WriteLine("Starting..."); var fileNames = items.OfType <ProjectFile>().Select((ProjectFile arg) => arg.FilePath.ToString()).ToArray(); var options = new System.CodeDom.Compiler.CompilerParameters(); options.OutputAssembly = configuration.CompiledOutputName.ToString(); var compileResult = OneScriptCompilerService.CompileAssemblyFromFile(options, fileNames); monitor.Log.WriteLine("Done!"); return(new BuildResult(compileResult, null)); }
public override CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) { return(OneScriptCompilerService.CompileAssemblyFromFile(options, fileNames)); }