11 references to ThrowInvalidProjectFile
Microsoft.Build (11)
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (3)
131
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), "SdkResolverNoDllOrManifest", subfolder.FullName);
194
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty);
205
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1057
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(data.ProjectFullPath), "ProjectUpgradeNeededToVcxProj", data.ProjectFullPath);
Construction\ProjectRootElement.cs (2)
2026
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(projectFile), "ProjectUpgradeNeededToVcxProj", projectFile);
2117
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(fileInfo, "InvalidProjectFile", ex.Message);
Construction\Solution\SolutionFile.cs (4)
314
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(
322
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(
729
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(_solutionFile), "InvalidProjectFile", e.Message);
1559
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
Definition\Toolset.cs (1)
1049
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(currentTasksFile, e),