21 references to IgnoreMissingImports
Microsoft.Build (8)
BackEnd\BuildManager\BuildManager.cs (1)
1900
projectLoadSettings |= ProjectLoadSettings.
IgnoreMissingImports
| ProjectLoadSettings.IgnoreInvalidImports | ProjectLoadSettings.IgnoreEmptyImports;
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
76
bool failOnUnresolvedSdk = !Host.BuildParameters.ProjectLoadSettings.HasFlag(ProjectLoadSettings.
IgnoreMissingImports
) || Host.BuildParameters.ProjectLoadSettings.HasFlag(ProjectLoadSettings.FailOnUnresolvedSdk);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
471
projectLoadSettings |= ProjectLoadSettings.
IgnoreMissingImports
| ProjectLoadSettings.IgnoreInvalidImports | ProjectLoadSettings.IgnoreEmptyImports;
Definition\ProjectLoadSettings.cs (1)
69
/// Used in combination with <see cref="
IgnoreMissingImports
" /> to still treat an unresolved MSBuild project SDK as an error.
Evaluation\Evaluator.cs (4)
1653
(_loadSettings & ProjectLoadSettings.
IgnoreMissingImports
) == 0)
1792
failOnUnresolvedSdk: !_loadSettings.HasFlag(ProjectLoadSettings.
IgnoreMissingImports
) || _loadSettings.HasFlag(ProjectLoadSettings.FailOnUnresolvedSdk));
1803
if (_loadSettings.HasFlag(ProjectLoadSettings.
IgnoreMissingImports
) && !_loadSettings.HasFlag(ProjectLoadSettings.FailOnUnresolvedSdk))
2211
if ((_loadSettings & ProjectLoadSettings.
IgnoreMissingImports
) != 0)
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\Project_Tests.cs (3)
373
Project project = new Project(xml, null, null, collection, ProjectLoadSettings.
IgnoreMissingImports
);
389
Project project = new Project(xml, null, null, new ProjectCollection(), ProjectLoadSettings.
IgnoreMissingImports
);
4122
Project unused = new Project(pre, null, null, collection, ProjectLoadSettings.
IgnoreMissingImports
);
Instance\ProjectInstance_Tests.cs (1)
466
| ProjectLoadSettings.
IgnoreMissingImports
ObjectModelRemoting\LinkedEvaluationReadOnly_Tests.cs (1)
24
var projReal = this.Remote[0].LoadProjectWithSettings(this.BigFile, ProjectLoadSettings.
IgnoreMissingImports
| ProjectLoadSettings.RecordDuplicateButNotCircularImports);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
80
var newReal = this.StdGroup.Target.LoadInMemoryWithSettings(content, ProjectLoadSettings.
IgnoreMissingImports
);
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
165
public Project LoadProjectIgnoreMissingImports(string path) => LoadProjectWithSettings(path, ProjectLoadSettings.
IgnoreMissingImports
);
Microsoft.Build.Engine.UnitTests (5)
Definition\ProjectEvaluationContext_Tests.cs (3)
212
LoadSettings = ProjectLoadSettings.
IgnoreMissingImports
254
LoadSettings = ProjectLoadSettings.
IgnoreMissingImports
1001
LoadSettings = ProjectLoadSettings.
IgnoreMissingImports
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
484
loadSettings: ProjectLoadSettings.
IgnoreMissingImports
);
669
projectOptions.LoadSettings |= ProjectLoadSettings.
IgnoreMissingImports
;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
108
| MSB.Evaluation.ProjectLoadSettings.
IgnoreMissingImports