46 references to
MSBuild (46)
CommandLine\CommandLineParser.cs (1)
525
var projectDirectory = GetProjectDirectory(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project]);
CommandLine\CommandLineSwitches.cs (1)
749
result = this
[
parameterizedSwitch];
CommandLine\CommandLineSwitchesAccessor.cs (1)
161
private string[]? GetParameterizedSwitchValue(ParameterizedSwitch switchType) => switches.IsParameterizedSwitchSet(switchType) ? switches
[
switchType] : null;
XMake.cs (43)
442
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project],
443
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions],
450
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
1012
&& switchesNotFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
1013
&& switchesFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
2480
noLogo = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NoLogo], defaultValue: true, resourceName: "InvalidNoLogoValue");
2495
lowPriority = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.LowPriority], defaultValue: true, resourceName: "InvalidLowPriorityValue");
2550
ShowFeatureAvailability(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FeatureAvailability]);
2615
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project],
2616
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions],
2620
targets = ProcessTargetSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Target]);
2623
getProperty = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetProperty] ?? [];
2624
getItem = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetItem] ?? [];
2625
getTargetResult = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetTargetResult] ?? [];
2626
getResultOutputFile = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetResultOutputFile].FirstOrDefault() ?? string.Empty;
2637
toolsVersion = ProcessToolsVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ToolsVersion]);
2640
globalProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Property]);
2643
restoreProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.RestoreProperty]);
2646
cpuCount = ProcessMaxCPUCountSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]);
2652
enableNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
2658
preprocessWriter = ProcessPreprocessSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Preprocess]);
2665
targetsWriter = ProcessTargetsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Targets]);
2676
enableRestore = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Restore], defaultValue: true, resourceName: "InvalidRestoreValue");
2681
interactive = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Interactive], defaultValue: true, resourceName: "InvalidInteractiveValue");
2686
isolateProjects = ProcessIsolateProjectsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IsolateProjects]);
2691
graphBuild = ProcessGraphBuildSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GraphBuild]);
2877
string[] switches = commandLineSwitches1
[
CommandLineSwitches.ParameterizedSwitch.TerminalLogger];
2945
string[] terminalLoggerParameters = switches
[
CommandLineSwitches.ParameterizedSwitch.TerminalLoggerParameters];
3105
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].FirstOrDefault(p => p != null) ?? string.Empty
3112
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].Where(p => p != null).ToArray()
3230
string[] parameters = commandLineSwitches
[
warningSwitch];
3363
string[] input = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeMode];
3380
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3389
bool taskHostNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3390
byte parentPacketVersion = ProcessParentPacketVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ParentPacketVersion]);
3791
string[] loggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Logger];
3792
string[] distributedLoggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DistributedLogger];
3793
string[] verbositySwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Verbosity];
3796
string[] fileLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FileLoggerParameters]; // used by DistributedFileLogger
3797
string[] consoleLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ConsoleLoggerParameters];
3798
string[] binaryLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.BinaryLogger];
3799
string[] profileEvaluationParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation];
3810
detailedSummary = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DetailedSummary], defaultValue: true, resourceName: "InvalidDetailedSummaryValue");