https://github.com/KirillOsenkov/MSBuildStructuredLog/blob/master/src/StructuredLogger/Analyzers/CompilerInvocations.cs
The technique described here can be used to read accurate information from binlogs and feed it to a Roslyn Workspace for example: https://github.com/KirillOsenkov/SourceBrowser/wiki/Indexing-.binlogs
This API is available in this NuGet Package: https://www.nuget.org/packages/MSBuild.StructuredLogger/2.1.133
Example:
using Microsoft.Build.Logging.StructuredLogger; ... CompilerInvocationsReader.ReadInvocations(string binlogFilePath)
There was an error while loading. Please reload this page.