Skip to content

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed Oct 2, 2018
1 parent c80ee21 commit 1f9437d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ If you want to change the configured properties before loading or compiling the

Be careful though, you may break the ability to load, compile, or interpret the project if you change the MSBuild properties.

## Binary Log Files

Buildalyzer can also read [MSBuild binary log files](http://msbuildlog.com/):

```csharp
AnalyzerManager manager = new AnalyzerManager();
AnalyzerResults results = manager.Analyze(@"C:\MyCode\MyProject.binlog");
string[] sourceFiles = results.First().SourceFiles;
```

This is useful if you already have a binary log file and want to analyze it with Buildalyzer the same way you would build results.

## Logging

Buildalyzer uses the `Microsoft.Extensions.Logging` framework for logging MSBuild output. When you create an `AnayzerManager` you can specify an `ILoggerFactory` that Buildalyzer should use to create loggers. By default, the `ProjectAnalyzer` will log MSBuild output to the provided logger.
Expand Down
3 changes: 2 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 2.0.2
# 2.1.0

- [Feature] Adds `AnalyzerManager.Analyze()` support for reading MSBuild binary log files
- [Fix] Fix for pipe communication problems on Linux

# 2.0.1
Expand Down

0 comments on commit 1f9437d

Please sign in to comment.