private void buildDone(vsBuildScope scope, vsBuildAction action) { // fill it up taskbarItemInfo.ProgressValue = 1; // keep it red if (taskbarItemInfo.ProgressState != TaskbarItemProgressState.Error) { taskbarItemInfo.ProgressState = TaskbarItemProgressState.None; } if (scope != vsBuildScope.vsBuildScopeSolution) { return; } string msg = String.Format("Total build time: {0}", DateTime.Now - _buildStartTime); _vspkg.writeToBuildWindow("\n" + msg); _vspkg.writeStatus(msg); }