1 write to RequestConfiguration
Microsoft.Build (1)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
131
RequestConfiguration
= requestConfiguration;
90 references to RequestConfiguration
Microsoft.Build (84)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
917
entry.
RequestConfiguration
.RetrieveFromCache();
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (9)
151
(_projectRootDirectory = Path.GetDirectoryName(
RequestConfiguration
.ProjectFullPath));
217
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Must be in Active state to wait for blocking request. Config: {0} State: {1}",
RequestConfiguration
.ConfigurationId, State);
293
return
RequestConfiguration
.ActivelyBuildingTargets.Keys.ToArray();
307
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Waiting || _outstandingRequests == null, "Entry must be in the Waiting state to report results, or we must have flushed our requests due to an error. Config: {0} State: {1} Requests: {2}",
RequestConfiguration
.ConfigurationId, State, _outstandingRequests != null);
385
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Waiting, "Entry must be in the waiting state to be unblocked. Config: {0} State: {1} Request: {2}",
RequestConfiguration
.ConfigurationId, State, Request.GlobalRequestId);
386
ErrorUtilities.VerifyThrow(_blockingGlobalRequestId != BuildRequest.InvalidGlobalRequestId, "Entry must be waiting on another request to be unblocked. Config: {0} Request: {1}",
RequestConfiguration
.ConfigurationId, Request.GlobalRequestId);
405
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Ready, "Entry must be in the Ready state. Config: {0} State: {1}",
RequestConfiguration
.ConfigurationId, State);
482
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Entry must be active before it can be Completed successfully. Config: {0} State: {1}",
RequestConfiguration
.ConfigurationId, State);
500
ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active || State == BuildRequestEntryState.Waiting, "Must be in Active or Waiting state to wait for results. Config: {0} State: {1}",
RequestConfiguration
.ConfigurationId, State);
BackEnd\Components\Logging\ProjectLoggingContext.cs (10)
38
requestEntry.
RequestConfiguration
.ProjectFullPath,
40
requestEntry.
RequestConfiguration
.ToolsVersion,
41
requestEntry.
RequestConfiguration
.Project.PropertiesToBuildWith,
42
requestEntry.
RequestConfiguration
.Project.ItemsToBuildWith,
44
requestEntry.
RequestConfiguration
.Project.EvaluationId,
85
requestEntry.
RequestConfiguration
.ProjectFullPath,
87
requestEntry.
RequestConfiguration
.ToolsVersion,
88
requestEntry.
RequestConfiguration
.Project.PropertiesToBuildWith,
89
requestEntry.
RequestConfiguration
.Project.ItemsToBuildWith,
91
requestEntry.
RequestConfiguration
.Project.EvaluationId,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (37)
359
if (explicitToolsVersion == null && _requestEntry.
RequestConfiguration
.ExplicitToolsVersionSpecified)
361
explicitToolsVersion = _requestEntry.
RequestConfiguration
.ToolsVersion;
369
bool skipStaticGraphIsolationConstraints = (isolateProjects != ProjectIsolationMode.False && _requestEntry.
RequestConfiguration
.ShouldSkipIsolationConstraintsForReference(config.ProjectFullPath))
905
entryToComplete.
RequestConfiguration
.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
906
entryToComplete.
RequestConfiguration
.SavedEnvironmentVariables = CommunicationsUtilities.GetEnvironmentVariables();
1109
bool isRestoring = _requestEntry.
RequestConfiguration
.GlobalProperties[MSBuildConstants.MSBuildIsRestoring] is not null;
1122
MSBuildEventSource.Log.BuildProjectStart(_requestEntry.
RequestConfiguration
.ProjectFullPath);
1127
if (!_requestEntry.
RequestConfiguration
.IsLoaded)
1132
_requestEntry.
RequestConfiguration
.ProjectFullPath);
1134
_requestEntry.
RequestConfiguration
.LoadProjectIntoConfiguration(
1147
_requestEntry.
RequestConfiguration
.ProjectFullPath,
1148
_requestEntry.
RequestConfiguration
.ToolsVersion);
1167
_requestEntry.
RequestConfiguration
.RetrieveFromCache();
1168
if (_requestEntry.
RequestConfiguration
.Project.UsingDifferentToolsVersionFromProjectFile)
1172
_requestEntry.
RequestConfiguration
.Project.OriginalProjectToolsVersion,
1173
_requestEntry.
RequestConfiguration
.Project.ToolsVersion);
1179
(string name, TargetBuiltReason reason)[] allTargets = _requestEntry.
RequestConfiguration
1183
_requestEntry.
RequestConfiguration
.Project.ProjectFileLocation, "NoTargetSpecified");
1193
if ((_requestEntry.
RequestConfiguration
.ResultsNodeId != Scheduler.InvalidNodeId) &&
1194
(_requestEntry.
RequestConfiguration
.ResultsNodeId != _componentHost.BuildParameters.NodeId))
1201
_requestEntry.
RequestConfiguration
.ResultsNodeId == _componentHost.BuildParameters.NodeId,
1203
_requestEntry.
RequestConfiguration
.ConfigurationId,
1204
_requestEntry.
RequestConfiguration
.ResultsNodeId);
1209
allTargets, _requestEntry.
RequestConfiguration
.BaseLookup, _cancellationTokenSource.Token);
1217
MSBuildEventSource.Log.BuildProjectStop(_requestEntry.
RequestConfiguration
.ProjectFullPath,
1227
_requestEntry.
RequestConfiguration
.ProjectFullPath);
1267
_requestEntry.
RequestConfiguration
.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
1268
_requestEntry.
RequestConfiguration
.SavedEnvironmentVariables = CommunicationsUtilities.GetEnvironmentVariables();
1294
_requestEntry.
RequestConfiguration
.ProjectFullPath);
1302
if (_requestEntry.
RequestConfiguration
.SavedEnvironmentVariables != null && _componentHost.BuildParameters.SaveOperatingEnvironment)
1305
SetEnvironmentVariableBlock(_requestEntry.
RequestConfiguration
.SavedEnvironmentVariables);
1321
ErrorUtilities.VerifyThrow(_requestEntry.
RequestConfiguration
.SavedCurrentDirectory != null, "Current directory not previously saved.");
1322
ErrorUtilities.VerifyThrow(_requestEntry.
RequestConfiguration
.SavedEnvironmentVariables != null, "Current environment not previously saved.");
1325
SetEnvironmentVariableBlock(_requestEntry.
RequestConfiguration
.SavedEnvironmentVariables);
1326
NativeMethodsShared.SetCurrentDirectory(_requestEntry.
RequestConfiguration
.SavedCurrentDirectory);
1386
ProjectInstance project = _requestEntry?.
RequestConfiguration
?.Project;
1426
ProjectInstance project = _requestEntry?.
RequestConfiguration
?.Project;
BackEnd\Components\RequestBuilder\TargetBuilder.cs (12)
125
BuildRequestConfiguration configuration = _requestEntry.
RequestConfiguration
;
417
_requestEntry.
RequestConfiguration
.Project.Targets.ContainsKey(currentTargetEntry.Name),
431
IList<TargetSpecification> afterTargets = _requestEntry.
RequestConfiguration
.Project.GetTargetsWhichRunAfter(currentTargetEntry.Name);
452
IList<TargetSpecification> beforeTargets = _requestEntry.
RequestConfiguration
.Project.GetTargetsWhichRunBefore(currentTargetEntry.Name);
482
_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets[currentTargetEntry.Name] = _requestEntry.Request.GlobalRequestId;
505
_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.Remove(currentTargetEntry.Name);
522
_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.Remove(currentTargetEntry.Name);
620
_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.Remove(topEntry.Name);
681
if (_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.TryGetValue(targetSpecification.TargetName, out idOfAlreadyBuildingRequest))
690
if (_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.ContainsKey(targetSpecification.TargetName))
765
if (_requestEntry.
RequestConfiguration
.ActivelyBuildingTargets.TryGetValue(targetName, out idOfAlreadyBuildingRequest))
797
IList<TargetSpecification> targetsWhichRunAfter = _requestEntry.
RequestConfiguration
.Project.GetTargetsWhichRunAfter(targetToCheck);
BackEnd\Components\RequestBuilder\TargetEntry.cs (4)
437
string projectFullPath = requestEntry.
RequestConfiguration
.ProjectFullPath;
481
TargetUpToDateChecker dependencyAnalyzer = new TargetUpToDateChecker(requestEntry.
RequestConfiguration
.Project, _target, targetLoggingContext.LoggingService, targetLoggingContext.BuildEventContext);
936
_requestEntry.
RequestConfiguration
.Project.Targets.TryGetValue(_targetSpecification.TargetName, out _target);
940
_targetSpecification.ReferenceLocation ?? _requestEntry.
RequestConfiguration
.Project.ProjectFileLocation,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (9)
167
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.
RequestConfiguration
.Project.FullPath, loggingContext.Target.Name, _taskNode.Name);
170
_projectFullPath = requestEntry.
RequestConfiguration
.Project.FullPath;
308
_taskExecutionHost.InitializeForTask(taskHost, _targetLoggingContext, _buildRequestEntry.
RequestConfiguration
.Project, _taskNode.Name, _taskNode.Location, _taskHostObject, _continueOnError != ContinueOnError.ErrorAndStop,
639
_buildRequestEntry.
RequestConfiguration
.Project,
832
bucket.Lookup.SetProperty(ProjectPropertyInstance.Create(ReservedPropertyNames.lastTaskResult, taskResult ? "true" : "false", true/* may be reserved */, _buildRequestEntry.
RequestConfiguration
.Project.IsImmutable));
1028
var projectReferenceItems = _buildRequestEntry.
RequestConfiguration
.Project.GetItems(ItemTypeNames.ProjectReference);
1048
|| _buildRequestEntry.
RequestConfiguration
.ShouldSkipIsolationConstraintsForReference(normalizedMSBuildProject)))
1191
ProjectItemInstanceFactory itemFactory = new ProjectItemInstanceFactory(_buildRequestEntry.
RequestConfiguration
.Project, itemName);
1209
lookup.SetProperty(ProjectPropertyInstance.Create(propertyName, taskParameterValue, taskPropertyInstance.TaskParameterLocation, _buildRequestEntry.
RequestConfiguration
.Project.IsImmutable));
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
687
return _requestEntry.
RequestConfiguration
.GlobalProperties.ToDictionary();
1183
propertyDictionaries[i] = new PropertyDictionary<ProjectPropertyInstance>(_requestEntry.
RequestConfiguration
.Project.GlobalPropertiesDictionary);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BuildRequestEngine_Tests.cs (2)
101
_entry.
RequestConfiguration
.Project = CreateStandinProject();
163
result.AddResultsForTarget(target, new TargetResult(new TaskItem[1] { new TaskItem("include", _entry.
RequestConfiguration
.ProjectFullPath) }, completeSuccess ? BuildResultUtilities.GetSuccessResult() : BuildResultUtilities.GetStopWithErrorResult()));
BackEnd\IntrinsicTask_Tests.cs (2)
3959
entry.
RequestConfiguration
.Project = projectInstance;
3994
entry.
RequestConfiguration
.Project = projectInstance;
BackEnd\MockTaskBuilder.cs (2)
102
lookupForInference.AddNewItem(new ProjectItemInstance(requestEntry.
RequestConfiguration
.Project, taskInstance.Name + "_Item", "Item", task.Location.File));
106
lookupForExecution.AddNewItem(new ProjectItemInstance(requestEntry.
RequestConfiguration
.Project, taskInstance.Name + "_Item", "Item", task.Location.File));