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