This repository was archived by the owner on Aug 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ assembly_info:
9
9
assembly_file_version : ' {version}'
10
10
assembly_informational_version : ' {version}'
11
11
environment :
12
+ MSBUILD_LOG_VERSION : 2.0.94
13
+ MSBUILD_LOG_FILE : msbuild.binlog
12
14
NUGET_RESTORE_VERBOSITY : quiet
13
15
SQL_SERVER_INSTANCE : (local)\SQL2016
14
16
SQL_SERVER_USER : AlwaysEncryptedOwner
@@ -27,6 +29,7 @@ services:
27
29
before_build :
28
30
- cmd : sqlcmd -S "%SQL_SERVER_INSTANCE%" -i .\appveyor\init.sql
29
31
- cmd : nuget restore -Verbosity %NUGET_RESTORE_VERBOSITY%
32
+ - nuget install MSBuild.StructuredLogger -Version %MSBUILD_LOG_VERSION% -SolutionDirectory .
30
33
build :
31
34
publish_nuget : true
32
35
publish_wap : true
@@ -49,3 +52,6 @@ artifacts:
49
52
- path : $(SQL_SERVER_VERIFICATION_LOG)
50
53
name : Verifiction Query Results
51
54
type : file
55
+ - path : $(MSBUILD_LOG_FILE)
56
+ name : MSBuild BInary Log
57
+ type : file
Original file line number Diff line number Diff line change 5
5
# We just want errors displayed
6
6
/ConsoleLoggerParameters:NoSummary;Verbosity=quiet
7
7
# Binary logger **WARNING** This is going to expose secrets in envirnment variables.
8
- /bl
8
+ /logger:BinaryLogger,".\packages\MSBuild.StructuredLogger.%MSBUILD_LOG_VERSION%\lib\net46\StructuredLogger.dll";".\%MSBUILD_LOG_FILE%"
9
+ # Requires MSBuild 15.3 or later to use simplifies binlog
10
+ #/bl
You can’t perform that action at this time.
0 commit comments