Skip to content

Commit 946e3d2

Browse files
committed
Support MSBuild 16.10 binlogs
The Properties property on the event args for the project started event is null. Use the project file name from the event args instead. This fixes the Open Binary Log menu item not being available when right clicking a row in the Build Logging window since no project file was mapped to a binlog.
1 parent e65d3ee commit 946e3d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/MonoDevelop.ProjectSystem.Tools/MonoDevelop.ProjectSystem.Tools/BinaryLogProcessor.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public void Process ()
6262

6363
void ProjectStarted (object sender, ProjectStartedEventArgs e)
6464
{
65+
if (!string.IsNullOrEmpty (e.ProjectFile)) {
66+
projectFileNames.Add (e.ProjectFile);
67+
}
68+
6569
if (e.Properties == null) {
6670
return;
6771
}

0 commit comments

Comments
 (0)