internal BuildResult( string solutionPath, string[] outputFiles, BuiltProject[] projectsBuilt, string[] targetFiles, BuiltItem[] allItemsBuilt ) { SolutionPath = solutionPath; OutputFiles = outputFiles; ProjectsBuilt = projectsBuilt; TargetFilesUsed = targetFiles; AllItemsBuilt = allItemsBuilt; }
public void Initialize(IEventSource eventSource) { eventSource.ProjectStarted += (sender, args) => { var parentId = args.ParentProjectBuildEventContext.ProjectInstanceId; BuiltProject parentProject; ProjectsById.TryGetValue(parentId, out parentProject); var obj = new BuiltProject { Parent = parentProject, Id = args.ProjectId, File = args.ProjectFile }; ProjectsById[args.ProjectId] = obj; }; eventSource.TargetStarted += (sender, args) => TargetFiles.Add(args.TargetFile); }
public void Initialize(IEventSource eventSource) { eventSource.ProjectStarted += (sender, args) => { var parentId = args.ParentProjectBuildEventContext.ProjectInstanceId; BuiltProject parentProject; ProjectsById.TryGetValue(parentId, out parentProject); var obj = new BuiltProject { Parent = parentProject, Id = args.ProjectId, File = args.ProjectFile }; ProjectsById[args.ProjectId] = obj; }; eventSource.TargetStarted += (sender, args) => TargetFiles.Add(args.TargetFile); }