Exemplo n.º 1
0
 /// <summary>
 /// Returns the build manager of the solution.
 /// </summary>
 /// <returns></returns>
 public IVsSolutionBuildManager GetVsSolutionBuildManager()
 {
     if (_vsSolutionBuildManager == null)
     {
         _vsSolutionBuildManager = PackageHelper.GetService <IVsSolutionBuildManager>(typeof(SVsSolutionBuildManager));
     }
     return(_vsSolutionBuildManager);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the selection monitor.
 /// </summary>
 /// <returns></returns>
 public IVsMonitorSelection GetVsMonitorSelection()
 {
     if (_vsMonitorSelection == null)
     {
         _vsMonitorSelection = PackageHelper.GetService <IVsMonitorSelection>(typeof(SVsShellMonitorSelection));
     }
     return(_vsMonitorSelection);
 }
Exemplo n.º 3
0
        public static IVsSolutionBuildManager GetVsSolutionBuildManager()
        {
            IVsSolutionBuildManager solutionBuildManager = PackageHelper.GetService <IVsSolutionBuildManager>(typeof(SVsSolutionBuildManager));

            return(solutionBuildManager);
        }