【发布时间】:2018-11-03 23:14:49
【问题描述】:
我正在尝试使用 cake 构建文件构建我的 .net 解决方案。我正在尝试使用网站上的文档here
我当前的 msbuild 任务如下所示:
MSBuild("./solution.sln", new MSBuildSettings()
.SetConfiguration(environmentSetting)
.SetMSBuildPlatform(MSBuildPlatform.Automatic)
.SetVerbosity(Verbosity.Minimal)
.SetMaxCpuCount(System.Environment.ProcessorCount)
.SetNodeReuse(false)
.WithConsoleLoggerParameter("ErrorsOnly"));
参数.WithConsoleLoggerParameter一直报错。我不确定我在这里做错了什么。
Microsoft 文档显示 here 相同的东西,我尝试在 powershell 中使用相同的参数运行它,它只运行文件。
【问题讨论】:
标签: msbuild roslyn msbuild-task cakebuild msbuildcommunitytasks