48 references to
MSBuild (48)
CommandLine\CommandLineParser.cs (1)
530
var projectDirectory = GetProjectDirectory(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project]);
CommandLine\CommandLineSwitches.cs (1)
752
result = this
[
parameterizedSwitch];
CommandLine\CommandLineSwitchesAccessor.cs (1)
161
private string[]? GetParameterizedSwitchValue(ParameterizedSwitch switchType) => switches.IsParameterizedSwitchSet(switchType) ? switches
[
switchType] : null;
XMake.cs (45)
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
2481
noLogo = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NoLogo], defaultValue: true, resourceName: "InvalidNoLogoValue");
2496
lowPriority = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.LowPriority], defaultValue: true, resourceName: "InvalidLowPriorityValue");
2551
ShowFeatureAvailability(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FeatureAvailability]);
2616
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Project],
2617
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IgnoreProjectExtensions],
2621
targets = ProcessTargetSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Target]);
2624
getProperty = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetProperty] ?? [];
2625
getItem = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetItem] ?? [];
2626
getTargetResult = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetTargetResult] ?? [];
2627
getResultOutputFile = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GetResultOutputFile].FirstOrDefault() ?? string.Empty;
2638
toolsVersion = ProcessToolsVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ToolsVersion]);
2641
globalProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Property]);
2644
restoreProperties = ProcessPropertySwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.RestoreProperty]);
2647
cpuCount = ProcessMaxCPUCountSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.MaxCPUCount]);
2653
enableNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
2659
preprocessWriter = ProcessPreprocessSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Preprocess]);
2666
targetsWriter = ProcessTargetsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Targets]);
2677
enableRestore = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Restore], defaultValue: true, resourceName: "InvalidRestoreValue");
2682
interactive = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Interactive], defaultValue: true, resourceName: "InvalidInteractiveValue");
2687
isolateProjects = ProcessIsolateProjectsSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.IsolateProjects]);
2692
graphBuild = ProcessGraphBuildSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.GraphBuild]);
2775
commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.MultiThreaded],
2885
string[] switches = commandLineSwitches1
[
CommandLineSwitches.ParameterizedSwitch.TerminalLogger];
2953
string[] terminalLoggerParameters = switches
[
CommandLineSwitches.ParameterizedSwitch.TerminalLoggerParameters];
3113
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.OutputResultsCache].FirstOrDefault(p => p != null) ?? string.Empty
3120
? commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.InputResultsCaches].Where(p => p != null).ToArray()
3250
string[] parameters = commandLineSwitches
[
warningSwitch];
3383
string[] input = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeMode];
3400
bool nodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3409
bool taskHostNodeReuse = ProcessNodeReuseSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.NodeReuse]);
3410
byte parentPacketVersion = ProcessParentPacketVersionSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ParentPacketVersion]);
3457
OutOfProcServerNode serverNode = new(buildFunction, ProcessServerInstanceIdSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ServerInstanceId]));
3811
string[] loggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Logger];
3812
string[] distributedLoggerSwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DistributedLogger];
3813
string[] verbositySwitchParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.Verbosity];
3816
string[] fileLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.FileLoggerParameters]; // used by DistributedFileLogger
3817
string[] consoleLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ConsoleLoggerParameters];
3818
string[] binaryLoggerParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.BinaryLogger];
3819
string[] profileEvaluationParameters = commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.ProfileEvaluation];
3830
detailedSummary = ProcessBooleanSwitch(commandLineSwitches
[
CommandLineSwitches.ParameterizedSwitch.DetailedSummary], defaultValue: true, resourceName: "InvalidDetailedSummaryValue");