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)
439
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
441
string projectFile = ProcessProjectSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project], commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions], Directory.GetFiles);
1003
&& switchesNotFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
1004
&& switchesFromAutoResponseFile
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount].Length == 0
2453
noLogo = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NoLogo], defaultValue: true, resourceName: "InvalidNoLogoValue");
2468
lowPriority = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.LowPriority], defaultValue: true, resourceName: "InvalidLowPriorityValue");
2522
ShowFeatureAvailability(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FeatureAvailability]);
2585
projectFile = ProcessProjectSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project], commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions], Directory.GetFiles);
2588
targets = ProcessTargetSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Target]);
2591
getProperty = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetProperty] ?? [];
2592
getItem = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetItem] ?? [];
2593
getTargetResult = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetTargetResult] ?? [];
2594
getResultOutputFile = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetResultOutputFile].FirstOrDefault() ?? string.Empty;
2605
toolsVersion = ProcessToolsVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ToolsVersion]);
2608
globalProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Property]);
2611
restoreProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.RestoreProperty]);
2614
cpuCount = ProcessMaxCPUCountSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]);
2620
enableNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
2626
preprocessWriter = ProcessPreprocessSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Preprocess]);
2633
targetsWriter = ProcessTargetsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Targets]);
2644
enableRestore = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Restore], defaultValue: true, resourceName: "InvalidRestoreValue");
2649
interactive = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Interactive], defaultValue: true, resourceName: "InvalidInteractiveValue");
2654
isolateProjects = ProcessIsolateProjectsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IsolateProjects]);
2659
graphBuild = ProcessGraphBuildSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GraphBuild]);
2845
string[] switches = commandLineSwitches1
[
CommandLineSwitches.ParameterizedSwitch.TerminalLogger];
2913
string[] terminalLoggerParameters = switches
[
CommandLineSwitches.ParameterizedSwitch.TerminalLoggerParameters];
3073
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].FirstOrDefault(p => p != null) ?? string.Empty
3080
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].Where(p => p != null).ToArray()
3198
string[] parameters = commandLineSwitches
[
warningSwitch];
3331
string[] input = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeMode];
3348
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3357
bool taskHostNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3358
byte parentPacketVersion = ProcessParentPacketVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ParentPacketVersion]);
3713
string[] loggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Logger];
3714
string[] distributedLoggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DistributedLogger];
3715
string[] verbositySwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Verbosity];
3718
string[] fileLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FileLoggerParameters]; // used by DistributedFileLogger
3719
string[] consoleLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ConsoleLoggerParameters];
3720
string[] binaryLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.BinaryLogger];
3721
string[] profileEvaluationParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation];
3732
detailedSummary = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DetailedSummary], defaultValue: true, resourceName: "InvalidDetailedSummaryValue");