private void Processor_AfterProcess(object sender, BundleFileEventArgs e)
 {
     Log.LogMessage(MessageImportance.High, "\tBundled " + e.Bundle.OutputFileName);
 }
Пример #2
0
 private void Processor_AfterProcess(object sender, BundleFileEventArgs e)
 {
     Log.LogMessage(MessageImportance.High, "\tBundled " + e.Bundle.OutputFileName);
 }
Пример #3
0
        private static void AfterProcess(object sender, BundleFileEventArgs e)
        {
            if (!e.Bundle.IncludeInProject)
                return;

            var item = _dte.Solution.FindProjectItem(e.Bundle.FileName);

            if (item == null || item.ContainingProject == null)
                return;

            item.ContainingProject.AddFileToProject(e.OutputFileName);
            _dte.StatusBar.Text = "Bundle updated";
        }