File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/input/documentation/issue-providers/msbuild Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ and a task to read issues from the binary log file and write the number of warni
39
39
=== "Cake .NET Tool"
40
40
41
41
```csharp title="build.cake"
42
- var logPath = @"c:\build\msbuild.xml ";
42
+ var logPath = @"c:\build\msbuild.binlog ";
43
43
var repoRootPath = MakeAbsolute(Directory("./"));
44
44
45
45
Task("Build-Solution").Does(() =>
@@ -94,7 +94,7 @@ and a task to read issues from the binary log file and write the number of warni
94
94
95
95
public class BuildContext(ICakeContext context) : FrostingContext(context)
96
96
{
97
- public FilePath LogPath { get; } = @"c:\build\msbuild.xml ";
97
+ public FilePath LogPath { get; } = @"c:\build\msbuild.binlog ";
98
98
public DirectoryPath RepoRootPath { get; } =
99
99
context.MakeAbsolute(context.Directory("./"));
100
100
}
@@ -107,7 +107,7 @@ and a task to read issues from the binary log file and write the number of warni
107
107
// Build solution.
108
108
var msBuildSettings =
109
109
new DotNetMSBuildSettings().WithLogger(
110
- "BinaryLogger," + context.Tools.Resolve("Cake.Issues.MsBuild*/**/ StructuredLogger.dll"),
110
+ "BinaryLogger," + context.Environment.ApplicationRoot.CombineWithFilePath(" StructuredLogger.dll"),
111
111
"",
112
112
context.LogPath.FullPath);
113
113
context.DotNetBuild(
You can’t perform that action at this time.
0 commit comments