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
3939=== "Cake .NET Tool"
4040
4141 ```csharp title="build.cake"
42- var logPath = @"c:\build\msbuild.xml ";
42+ var logPath = @"c:\build\msbuild.binlog ";
4343 var repoRootPath = MakeAbsolute(Directory("./"));
4444
4545 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
9494
9595 public class BuildContext(ICakeContext context) : FrostingContext(context)
9696 {
97- public FilePath LogPath { get; } = @"c:\build\msbuild.xml ";
97+ public FilePath LogPath { get; } = @"c:\build\msbuild.binlog ";
9898 public DirectoryPath RepoRootPath { get; } =
9999 context.MakeAbsolute(context.Directory("./"));
100100 }
@@ -107,7 +107,7 @@ and a task to read issues from the binary log file and write the number of warni
107107 // Build solution.
108108 var msBuildSettings =
109109 new DotNetMSBuildSettings().WithLogger(
110- "BinaryLogger," + context.Tools.Resolve("Cake.Issues.MsBuild*/**/ StructuredLogger.dll"),
110+ "BinaryLogger," + context.Environment.ApplicationRoot.CombineWithFilePath(" StructuredLogger.dll"),
111111 "",
112112 context.LogPath.FullPath);
113113 context.DotNetBuild(
You can’t perform that action at this time.
0 commit comments