public void ReportDiagnostics(OmniSharp.Dnx.Project project, DiagnosticsMessage[] messages) { if (builder != null) { builder.OnDiagnostics(messages); builder = null; } }
protected override BuildResult OnRunTarget(IProgressMonitor monitor, string target, ConfigurationSelector configuration) { if (target == ProjectService.BuildTarget) { using (var builder = new DnxProjectBuilder(this, monitor)) { return(builder.Build()); } } return(new BuildResult()); }
protected async override Task <TargetEvaluationResult> OnRunTarget(ProgressMonitor monitor, string target, ConfigurationSelector configuration, TargetEvaluationContext context) { if (target == ProjectService.BuildTarget) { var config = GetConfiguration(configuration) as DotNetProjectConfiguration; using (var builder = new DnxProjectBuilder(this, monitor)) { BuildResult result = await builder.BuildAsnc(config); LastBuildTime = DateTime.Now; return(new TargetEvaluationResult(result)); } } return(new TargetEvaluationResult(BuildResult.CreateSuccess())); }
public void GetDiagnostics(DnxProjectBuilder builder) { this.builder = builder; projectSystem.GetDiagnostics(builder.ProjectPath); }
public void GetDiagnostics(DnxProjectBuilder builder) { this.builder = builder; projectSystem.GetDiagnostics (builder.ProjectPath); }
public void ReportDiagnostics(OmniSharp.Dnx.Project project, DiagnosticsMessage[] messages) { if (builder != null) { builder.OnDiagnostics (messages); builder = null; } }
protected override BuildResult OnRunTarget(IProgressMonitor monitor, string target, ConfigurationSelector configuration) { if (target == ProjectService.BuildTarget) { using (var builder = new DnxProjectBuilder (this, monitor)) { return builder.Build (); } } return new BuildResult (); }