21 references to CommandLineBuilder
Microsoft.DotNet.Build.Tasks.Workloads (21)
Wix\CompilerToolTask.cs (6)
74
CommandLineBuilder
.AppendSwitchIfNotNull("-out ", OutputPath);
76
CommandLineBuilder
.AppendArrayIfNotNull("-d", PreprocessorDefinitions.ToArray());
77
CommandLineBuilder
.AppendArrayIfNotNull("-ext ", Extensions.ToArray());
78
CommandLineBuilder
.AppendSwitchIfNotNull("-arch ", Architecture);
79
CommandLineBuilder
.AppendFileNamesIfNotNull(_sourceFiles.ToArray(), " ");
80
return
CommandLineBuilder
.ToString();
Wix\HarvesterToolTask.cs (9)
110
CommandLineBuilder
.AppendSwitchIfNotNull("dir ", SourceDirectory);
112
CommandLineBuilder
.AppendSwitchIfNotNull("-cg ", ComponentGroupName);
115
CommandLineBuilder
.AppendSwitch($"-var var.{SourceVariableName}");
120
CommandLineBuilder
.AppendSwitch("-ag");
124
CommandLineBuilder
.AppendSwitch("-gg");
132
CommandLineBuilder
.AppendSwitch(s_SuppressionArguments[suppression]);
136
CommandLineBuilder
.AppendSwitchIfNotNull("-dr ", DirectoryReference);
137
CommandLineBuilder
.AppendSwitchIfNotNull("-o ", OutputFile);
139
return
CommandLineBuilder
.ToString();
Wix\LinkerToolTask.cs (6)
76
CommandLineBuilder
.AppendSwitchIfNotNull("-o ", OutputFile);
77
CommandLineBuilder
.AppendSwitchIfTrue("-fv", AddFileVersion);
78
CommandLineBuilder
.AppendArrayIfNotNull("-ext ", Extensions.ToArray());
79
CommandLineBuilder
.AppendSwitchIfNotNull("-sice:", SuppressIces);
80
CommandLineBuilder
.AppendFileNamesIfNotNull(SourceFiles.ToArray(), " ");
82
return
CommandLineBuilder
.ToString();