You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Cake.Common.Tools.DotNet;
using Cake.Common.Tools.DotNet.MSBuild;
using Cake.Core;
using Cake.Frosting;
public static class Program
{
public static int Main(string[] args)
{
return new CakeHost()
.Run(args);
}
}
[TaskName("Hello")]
public sealed class HelloTask : FrostingTask
{
public override void Run(ICakeContext context)
{
context.DotNetMSBuild("test.proj", new DotNetMSBuildSettings()
{
Verbosity = DotNetVerbosity.Detailed
});
}
}
Prerequisites
Cake runner
Cake Frosting
Cake version
5.0.0
Operating system
Windows
Operating system architecture
x64
CI Server
No response
What are you seeing?
When specifying the
Verbosity
property on theDotNetMsbuildSettings
class the dotnet msbuild tool outputs an error:What is expected?
The
dotnet msbuild
command should not include the--verbosity detailed
that is included with most of the other DotNet* aliases.Steps to Reproduce
test.proj
Program.cs
build.csproj
Then run:
Output log
The text was updated successfully, but these errors were encountered: