53 references to ProjectFileErrorUtilities
Microsoft.Build (53)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
622ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (7)
131ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverNoDllOrManifest", subfolder.FullName); 194ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty); 200ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message); 205ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path); 279ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message); 296ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message); 300ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1057ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(data.ProjectFullPath), "ProjectUpgradeNeededToVcxProj", data.ProjectFullPath);
Construction\ProjectRootElement.cs (4)
2026ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(projectFile), "ProjectUpgradeNeededToVcxProj", projectFile); 2038ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(projectFile), ex, "InvalidProjectFile", ex.Message); 2093ProjectFileErrorUtilities.ThrowInvalidProjectFile(fileInfo, ex, "InvalidProjectFile", ex.Message); 2117ProjectFileErrorUtilities.ThrowInvalidProjectFile(fileInfo, "InvalidProjectFile", ex.Message);
Construction\Solution\ProjectInSolution.cs (3)
16using ProjectFileErrorUtilities = Microsoft.Build.Shared.ProjectFileErrorUtilities; 416ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj != null || solutionFolder != null, "SubCategoryForSolutionParsingErrors", 458ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj != null || solutionFolder != null, "SubCategoryForSolutionParsingErrors",
Construction\Solution\SolutionFile.cs (29)
26using ProjectFileErrorUtilities = Microsoft.Build.Shared.ProjectFileErrorUtilities; 314ProjectFileErrorUtilities.ThrowInvalidProjectFile( 322ProjectFileErrorUtilities.ThrowInvalidProjectFile( 560ProjectFileErrorUtilities.ThrowInvalidProjectFile( 571ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 603ProjectFileErrorUtilities.ThrowInvalidProjectFile( 617ProjectFileErrorUtilities.ThrowInvalidProjectFile( 635ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 657ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 729ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(_solutionFile), "InvalidProjectFile", e.Message); 874ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 896ProjectFileErrorUtilities.ThrowInvalidProjectFile( 941ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(false, "SubCategoryForSolutionParsingErrors", 987ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(false, "SubCategoryForSolutionParsingErrors", 995ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 1056ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(match.Success, "SubCategoryForSolutionParsingErrors", 1074ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(match.Success, "SubCategoryForSolutionParsingErrors", 1100ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(line != null, "SubCategoryForSolutionParsingErrors", 1284ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.RelativePath.IndexOfAny(Path.GetInvalidPathChars()) == -1, 1291ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj.RelativePath.Length > 0, 1506ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(match.Success, "SubCategoryForSolutionParsingErrors", 1559ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath); 1606ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(match.Success, "SubCategoryForSolutionParsingErrors", 1614ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(proj != null, "SubCategoryForSolutionParsingErrors", 1655ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(configurationNames.Length == 2, "SubCategoryForSolutionParsingErrors", 1667ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(fullConfigurationName == configurationNames[1].Trim(), "SubCategoryForSolutionParsingErrors", 1680ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 1732ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(nameValue.Length == 2, "SubCategoryForSolutionParsingErrors", 1780ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(configurationPlatformParts.Length <= 2, "SubCategoryForSolutionParsingErrors",
Construction\Solution\SolutionProjectGenerator.cs (5)
287ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid); 698ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile( 1156ProjectFileErrorUtilities.ThrowInvalidProjectFile( 1226ProjectFileErrorUtilities.ThrowInvalidProjectFile( 1312ProjectFileErrorUtilities.ThrowInvalidProjectFile(
Definition\Toolset.cs (1)
1049ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(currentTasksFile, e),
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
27ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(
Graph\GraphBuilder.cs (1)
348ProjectFileErrorUtilities.ThrowInvalidProjectFile(