private void Converter_AfterFileProcessed(object sender, ProcessedFileEventArgs e) { try { OutputMessage(e.ToString(Directory.GetParent(e.InputFile).FullName, Directory.GetParent(e.OutputFile).FullName) + vbCrLf); } catch (Exception ex) { } }
//Private Sub EnvDTE_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) // If (Scope = vsBuildScope.vsBuildScopeSolution) AndAlso _ // ((Action = vsBuildAction.vsBuildActionBuild) OrElse (Action = vsBuildAction.vsBuildActionRebuildAll)) Then // ExecuteConversion(NetVertVsProject.NetVertExecutionEnum.AfterBuild) // End If //End Sub //Private Sub EnvDTE_DocumentSaved(ByVal Document As EnvDTE.Document) // If _applicationObject.Solution.Saved Then // ExecuteConversion(NetVertVsProject.NetVertExecutionEnum.AfterSave) // End If //End Sub //Private Sub docEvents_DocumentSaved(ByVal Document As EnvDTE.Document) Handles docEvents.DocumentSaved // If _applicationObject.Solution.Saved Then // 'ExecuteConversion(NetVertVsProject.NetVertExecutionEnum.AfterSave) // End If // 'MsgBox("solution saved: " & Document.FullName & vbCrLf & Document.Kind) //End Sub #endregion #region Converter Events private void NetVertConverter_AfterFileProcessed(object sender, ProcessedFileEventArgs e) { FOutputPane.OutputString(e.ToString() + vbCrLf); Application.DoEvents(); }