42 references to AppendSwitch
Microsoft.Build.Tasks.CodeAnalysis (9)
src\roslyn\src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
43
AppendSwitch
(switchName);
142
AppendSwitch
(switchName);
src\roslyn\src\Compilers\Core\MSBuildTask\InteractiveCompiler.cs (1)
202
commandLine.
AppendSwitch
("/i-");
src\roslyn\src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1003
commandLine.
AppendSwitch
("/embed");
src\roslyn\src\Compilers\Core\MSBuildTask\Vbc.cs (5)
438
commandLine.
AppendSwitch
("/optionstrict+");
442
commandLine.
AppendSwitch
("/optionstrict:custom");
471
commandLine.
AppendSwitch
("/vbruntime*");
475
commandLine.
AppendSwitch
("/vbruntime-");
479
commandLine.
AppendSwitch
("/vbruntime+");
Microsoft.Build.Tasks.Core (9)
CommandLineBuilderExtension.cs (2)
52
AppendSwitch
(switchName);
305
AppendSwitch
(switchName);
Exec.cs (4)
586
commandLine.
AppendSwitch
("-c");
601
commandLine.
AppendSwitch
("/Q"); // echo off
604
commandLine.
AppendSwitch
("/D"); // do not load AutoRun configuration from the registry (perf)
606
commandLine.
AppendSwitch
("/C"); // run then terminate
GenerateResource.cs (3)
625
resGenCommand.
AppendSwitch
("/useSourcePath");
631
resGenCommand.
AppendSwitch
("/publicClass");
646
resGenCommand.
AppendSwitch
("/compile");
Microsoft.Build.Utilities.Core (6)
CommandLineBuilder.cs (6)
508
AppendSwitch
(switchName);
578
AppendSwitch
(switchName);
610
AppendSwitch
(switchName);
648
AppendSwitch
(switchName);
689
AppendSwitch
(switchName);
720
AppendSwitch
(switchName);
Microsoft.DotNet.Build.Tasks.Workloads (5)
Wix\CommandLineBuilderExtensions.cs (1)
40
builder.
AppendSwitch
(switchName);
Wix\HarvesterToolTask.cs (4)
115
CommandLineBuilder.
AppendSwitch
($"-var var.{SourceVariableName}");
120
CommandLineBuilder.
AppendSwitch
("-ag");
124
CommandLineBuilder.
AppendSwitch
("-gg");
132
CommandLineBuilder.
AppendSwitch
(s_SuppressionArguments[suppression]);
Microsoft.NET.Sdk.Publish.Tasks (7)
Tasks\MsDeploy\MSDeploy.cs (7)
707
commandLineBuilder.
AppendSwitch
(string.Concat(parameterFlag, "\"", fileName, "\""));
994
if (m_xml) commandLine.
AppendSwitch
("-xml");
995
if (m_whatif) commandLine.
AppendSwitch
("-whatif");
996
if (m_verbose) commandLine.
AppendSwitch
("-verbose");
997
if (m_allowUntrusted) commandLine.
AppendSwitch
("-allowUntrusted");
998
if (m_useChecksum) commandLine.
AppendSwitch
("-useChecksum");
1000
if (m_enableTransaction) commandLine.
AppendSwitch
("-enableTransaction");
Microsoft.TestPlatform.Build (6)
Tasks\TestTaskUtils.cs (6)
37
builder.
AppendSwitch
("exec");
90
builder.
AppendSwitch
("--listTests");
169
builder.
AppendSwitch
("--Blame");
218
builder.
AppendSwitch
("--nologo");
224
builder.
AppendSwitch
("--artifactsProcessingMode-collect");
232
builder.
AppendSwitch
("--");