32 references to ProjectInstanceSettings
Microsoft.Build (24)
Definition\Project.cs (8)
1363
return CreateProjectInstance(
ProjectInstanceSettings
.None, null);
1375
public ProjectInstance CreateProjectInstance(
ProjectInstanceSettings
settings)
1381
/// See <see cref="CreateProjectInstance(
ProjectInstanceSettings
)"/>.
1386
public ProjectInstance CreateProjectInstance(
ProjectInstanceSettings
settings, EvaluationContext evaluationContext)
3268
/// See <see cref="ProjectLink.CreateProjectInstance(
ProjectInstanceSettings
, EvaluationContext)"/>.
3273
public override ProjectInstance CreateProjectInstance(
ProjectInstanceSettings
settings, EvaluationContext evaluationContext)
3341
ProjectInstance instance = CreateProjectInstance(LoggingService,
ProjectInstanceSettings
.None, evaluationContext);
3702
ProjectInstanceSettings
settings,
Graph\ProjectGraph.cs (1)
48
/// <see cref="
ProjectInstanceSettings
.Immutable" />, the resulting ProjectGraph
Instance\ProjectInstance.cs (13)
369
public ProjectInstance(Project project,
ProjectInstanceSettings
settings)
380
var immutable = (settings &
ProjectInstanceSettings
.Immutable) ==
ProjectInstanceSettings
.Immutable;
384
var keepEvaluationCache = (settings &
ProjectInstanceSettings
.ImmutableWithFastItemLookup) ==
ProjectInstanceSettings
.ImmutableWithFastItemLookup;
641
internal ProjectInstance(Evaluation.Project.Data data, string directory, string fullPath, HostServices hostServices, PropertyDictionary<ProjectPropertyInstance> environmentVariableProperties,
ProjectInstanceSettings
settings)
653
var immutable = (settings &
ProjectInstanceSettings
.Immutable) ==
ProjectInstanceSettings
.Immutable;
658
var keepEvaluationCache = (settings &
ProjectInstanceSettings
.ImmutableWithFastItemLookup) ==
ProjectInstanceSettings
.ImmutableWithFastItemLookup;
896
/// <param name="settings">The <see cref="
ProjectInstanceSettings
"/> to use.</param>
897
public static ProjectInstance FromImmutableProjectSource(Project project,
ProjectInstanceSettings
settings)
899
bool fastItemLookupNeeded = settings.HasFlag(
ProjectInstanceSettings
.ImmutableWithFastItemLookup);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (2)
234
/// Facilitate remoting the <see cref="Project.CreateProjectInstance(
ProjectInstanceSettings
, EvaluationContext)"/>.
236
public abstract ProjectInstance CreateProjectInstance(
ProjectInstanceSettings
settings, EvaluationContext evaluationContext);
Microsoft.Build.Engine.OM.UnitTests (4)
Instance\ProjectInstance_Tests.cs (2)
470
var projBInstance = new ProjectInstance(projBEval,
ProjectInstanceSettings
.ImmutableWithFastItemLookup);
1032
ProjectInstance instance = immutable ? project.CreateProjectInstance(
ProjectInstanceSettings
.Immutable) : project.CreateProjectInstance();
Instance\ProjectPropertyInstance_Tests.cs (1)
93
var snapshot = project.CreateProjectInstance(
ProjectInstanceSettings
.Immutable);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
185
public override ProjectInstance CreateProjectInstance(
ProjectInstanceSettings
settings, EvaluationContext evaluationContext) => throw new NotImplementedException();
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildManager_Tests.cs (3)
3707
var mainInstance = mainProject.CreateProjectInstance(
ProjectInstanceSettings
.Immutable).DeepCopy(isImmutable: false);
3734
var p2pInstance = p2pProject.CreateProjectInstance(
ProjectInstanceSettings
.Immutable).DeepCopy(isImmutable: false);
3859
ProjectInstance instance = project.CreateProjectInstance(
ProjectInstanceSettings
.Immutable).DeepCopy(false);
BackEnd\SdkResultOutOfProc_Tests.cs (1)
224
return project.CreateProjectInstance(
ProjectInstanceSettings
.None, projectOptions.EvaluationContext);