コード例 #1
0
 public int UpdateProjectCfg_Begin(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, ref int pfCancel)
 {
     ThreadHelper.ThrowIfNotOnUIThread();
     PBMCommand.BuildEvents_OnBuildProjConfigBegin(ProjectUniqueName(pHierProj));
     dwLastAction = dwAction;
     return(VSConstants.S_OK);
 }
コード例 #2
0
        public int UpdateSolution_Done(int fSucceeded, int fModified, int fCancelCommand)
        {
            // Find critical path only for Build action not for Clean or any other action
            bool findAndSetCriticalPath = (dwLastAction & (uint)VSSOLNBUILDUPDATEFLAGS.SBF_OPERATION_BUILD) != 0;

            PBMCommand.BuildEvents_OnBuildDone(findAndSetCriticalPath);
            return(VSConstants.S_OK);
        }
コード例 #3
0
 public int UpdateProjectCfg_Done(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, uint dwAction, int fSuccess, int fCancel)
 {
     ThreadHelper.ThrowIfNotOnUIThread();
     PBMCommand.BuildEvents_OnBuildProjConfigDone(ProjectUniqueName(pHierProj), fSuccess != 0);
     return(VSConstants.S_OK);
 }
コード例 #4
0
 public int UpdateSolution_Begin(ref int pfCancelUpdate)
 {
     dwLastAction = 0;
     PBMCommand.BuildEvents_OnBuildBegin();
     return(VSConstants.S_OK);
 }
コード例 #5
0
 public int OnAfterCloseSolution(object pUnkReserved)
 {
     PBMCommand.AfterSolutionClosing();
     return(VSConstants.S_OK);
 }