void ProjectPostBuild(BuildEngine engine, ProjectPostBuildEventArgs args)
		{
			Project proj = args.Project.MsProject;
			if (proj.IsDirty)
			{
				Log.Write(_warningLevel, "Project modified: {0}", proj.FullFileName);
				proj.Save(proj.FullFileName);
			}
		}
Пример #2
0
 protected CancelEventArgs OnProjectPostBuild(ProjectInfo proj, bool bFailed)
 {
     if (ProjectPostBuild != null)
     {
         ProjectPostBuildEventArgs args = new ProjectPostBuildEventArgs(proj, bFailed);
         ProjectPostBuild(this, args);
         return(args);
     }
     return(ContinueResponse);
 }
Пример #3
0
		protected CancelEventArgs OnProjectPostBuild(ProjectInfo proj, bool bFailed)
		{
			if (ProjectPostBuild != null)
			{
				ProjectPostBuildEventArgs args = new ProjectPostBuildEventArgs(proj, bFailed);
				ProjectPostBuild(this, args);
				return args;
			}
			return ContinueResponse;
		}
Пример #4
0
		void engine_ProjectPostBuild(BuildEngine engine, ProjectPostBuildEventArgs args)
		{
			if (args.BuildFailed)
				args.Cancel = true;
		}