Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Kalugin committed Nov 24, 2022
1 parent 70987e7 commit 6fbde17
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# MSBuild Logger for export build database
# MSBuild Logger for export build database

### Usage

`msbuild -logger:/path/to/msbuild-database.dll /t:Rebuild MyProject `
Download `msbuild-database.zip` archive from [release page](https://github.com/UnitTestBot/msbuild-database/releases)

`/t:Rebuild` - to recompile the entire project and get a list of all compilation commands
Unzip to folder

Add path to `msbuild-database.dll` as logger

Example `msbuild -logger:/path/to/msbuild-database.dll /t:Rebuild MyProject `

* `/t:Rebuild` - to recompile the entire project and get a list of all compilation commands

### Building

`dotnet build`


Based on [Andrew Baumann - MsBuildCompileCommandsJson ](https://github.com/0xabu/MsBuildCompileCommandsJson)

0 comments on commit 6fbde17

Please sign in to comment.