46 references to
MSBuild (46)
CommandLine\CommandLineParser.cs (1)
525
var projectDirectory = GetProjectDirectory(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project]);
CommandLine\CommandLineSwitches.cs (1)
751
result = this
[
parameterizedSwitch];
CommandLine\CommandLineSwitchesAccessor.cs (1)
161
private string[]? GetParameterizedSwitchValue(ParameterizedSwitch switchType) => switches.IsParameterizedSwitchSet(switchType) ? switches
[
switchType] : null;
XMake.cs (43)
409
string projectFile = ProcessProjectSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project], commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions], Directory.GetFiles);
414
!ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]))
938
&& switchesNotFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
939
&& switchesFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
2246
noLogo = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NoLogo], defaultValue: true, resourceName: "InvalidNoLogoValue");
2261
lowPriority = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.LowPriority], defaultValue: true, resourceName: "InvalidLowPriorityValue");
2315
ShowFeatureAvailability(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FeatureAvailability]);
2378
projectFile = ProcessProjectSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project], commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions], Directory.GetFiles);
2381
targets = ProcessTargetSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Target]);
2384
getProperty = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetProperty] ?? [];
2385
getItem = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetItem] ?? [];
2386
getTargetResult = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetTargetResult] ?? [];
2387
getResultOutputFile = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetResultOutputFile].FirstOrDefault() ?? string.Empty;
2398
toolsVersion = ProcessToolsVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ToolsVersion]);
2401
globalProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Property]);
2404
restoreProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.RestoreProperty]);
2407
cpuCount = ProcessMaxCPUCountSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]);
2413
enableNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
2419
preprocessWriter = ProcessPreprocessSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Preprocess]);
2426
targetsWriter = ProcessTargetsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Targets]);
2437
enableRestore = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Restore], defaultValue: true, resourceName: "InvalidRestoreValue");
2442
interactive = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Interactive], defaultValue: true, resourceName: "InvalidInteractiveValue");
2447
isolateProjects = ProcessIsolateProjectsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IsolateProjects]);
2452
graphBuild = ProcessGraphBuildSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GraphBuild]);
2638
string[] switches = commandLineSwitches1
[
CommandLineSwitches.ParameterizedSwitch.TerminalLogger];
2706
string[] terminalLoggerParameters = switches
[
CommandLineSwitches.ParameterizedSwitch.TerminalLoggerParameters];
2866
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].FirstOrDefault(p => p != null) ?? string.Empty
2873
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].Where(p => p != null).ToArray()
2991
string[] parameters = commandLineSwitches
[
warningSwitch];
3124
string[] input = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeMode];
3141
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3150
bool taskHostNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3151
byte parentPacketVersion = ProcessParentPacketVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ParentPacketVersion]);
3501
string[] loggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Logger];
3502
string[] distributedLoggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DistributedLogger];
3503
string[] verbositySwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Verbosity];
3506
string[] fileLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FileLoggerParameters]; // used by DistributedFileLogger
3507
string[] consoleLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ConsoleLoggerParameters];
3508
string[] binaryLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.BinaryLogger];
3509
string[] profileEvaluationParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation];
3520
detailedSummary = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DetailedSummary], defaultValue: true, resourceName: "InvalidDetailedSummaryValue");