6 references to ThrowInvalidProjectFile
Microsoft.Build (6)
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (4)
200
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
279
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message);
296
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message);
300
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
Construction\ProjectRootElement.cs (2)
2038
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(new BuildEventFileInfo(projectFile), ex, "InvalidProjectFile", ex.Message);
2093
ProjectFileErrorUtilities.
ThrowInvalidProjectFile
(fileInfo, ex, "InvalidProjectFile", ex.Message);