-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladislav Kalugin
committed
Nov 24, 2022
1 parent
70987e7
commit 6fbde17
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |