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