57 references to AppendSwitch
Microsoft.Build.Tasks.CodeAnalysis (9)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
43AppendSwitch(switchName); 142AppendSwitch(switchName);
src\Compilers\Core\MSBuildTask\InteractiveCompiler.cs (1)
202commandLine.AppendSwitch("/i-");
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
990commandLine.AppendSwitch("/embed");
src\Compilers\Core\MSBuildTask\Vbc.cs (5)
429commandLine.AppendSwitch("/optionstrict+"); 433commandLine.AppendSwitch("/optionstrict:custom"); 462commandLine.AppendSwitch("/vbruntime*"); 466commandLine.AppendSwitch("/vbruntime-"); 470commandLine.AppendSwitch("/vbruntime+");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (9)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
43AppendSwitch(switchName); 142AppendSwitch(switchName);
src\Compilers\Core\MSBuildTask\InteractiveCompiler.cs (1)
202commandLine.AppendSwitch("/i-");
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
990commandLine.AppendSwitch("/embed");
src\Compilers\Core\MSBuildTask\Vbc.cs (5)
429commandLine.AppendSwitch("/optionstrict+"); 433commandLine.AppendSwitch("/optionstrict:custom"); 462commandLine.AppendSwitch("/vbruntime*"); 466commandLine.AppendSwitch("/vbruntime-"); 470commandLine.AppendSwitch("/vbruntime+");
Microsoft.Build.Tasks.Core (9)
CommandLineBuilderExtension.cs (2)
52AppendSwitch(switchName); 305AppendSwitch(switchName);
Exec.cs (4)
577commandLine.AppendSwitch("-c"); 592commandLine.AppendSwitch("/Q"); // echo off 595commandLine.AppendSwitch("/D"); // do not load AutoRun configuration from the registry (perf) 597commandLine.AppendSwitch("/C"); // run then terminate
GenerateResource.cs (3)
625resGenCommand.AppendSwitch("/useSourcePath"); 631resGenCommand.AppendSwitch("/publicClass"); 646resGenCommand.AppendSwitch("/compile");
Microsoft.Build.Utilities.Core (7)
CommandLineBuilder.cs (6)
508AppendSwitch(switchName); 578AppendSwitch(switchName); 610AppendSwitch(switchName); 648AppendSwitch(switchName); 689AppendSwitch(switchName); 720AppendSwitch(switchName);
TrackedDependencies\FileTracker.cs (1)
642builder.AppendSwitch(" /c");
Microsoft.Build.Utilities.UnitTests (9)
CommandLineBuilder_Tests.cs (9)
28c.AppendSwitch("/a"); 29c.AppendSwitch("-b"); 197c.AppendSwitch("/something"); 211c.AppendSwitch("/something"); 225c.AppendSwitch("/something"); 239c.AppendSwitch("/something"); 253c.AppendSwitch("/something"); 269c.AppendSwitch("/something"); 447c.AppendSwitch("/D:");
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.Build.Containers (2)
Tasks\CreateNewImageToolTask.cs (2)
225builder.AppendSwitch("--generate-labels"); 230builder.AppendSwitch("--generate-digest-label");
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");