21 references to BuildErrorException
Microsoft.NET.Build.Tasks (21)
AssetsFileResolver.cs (1)
124
throw new
BuildErrorException
(Strings.IncorrectPackageRoot, pkgRoot, libraryPath);
CreateAppHost.cs (4)
83
throw new
BuildErrorException
(Strings.InvalidAppHostDotNetSearch, locationItem.ItemSpec);
136
throw new
BuildErrorException
(Strings.FileNameIsTooLong, ex.LongName);
140
throw new
BuildErrorException
(Strings.AppHostSigningFailed, ex.Message, ex.ExitCode.ToString());
144
throw new
BuildErrorException
(Strings.AppHostHasBeenModified, AppHostSourcePath, BitConverter.ToString(ex.MissingPattern));
DependencyContextBuilder.cs (1)
849
throw new
BuildErrorException
(Strings.CannotFindProjectInfo, library.Name);
FrameworkListReader.cs (1)
28
throw new
BuildErrorException
(Strings.FrameworkListPathNotRooted, frameworkListPath);
GenerateShims.cs (2)
138
throw new
BuildErrorException
(Strings.FileNameIsTooLong, ex.LongName);
142
throw new
BuildErrorException
(Strings.AppHostHasBeenModified, resolvedApphostAssetPath, BitConverter.ToString(ex.MissingPattern));
JoinItems.cs (1)
55
throw new
BuildErrorException
(Strings.InvalidItemSpecToUse, ItemSpecToUse);
LockFileCache.cs (2)
31
throw new
BuildErrorException
(Strings.AssetsFilePathNotRooted, path);
97
throw new
BuildErrorException
(Strings.AssetsFileNotFound, path);
NugetContentAssetPreprocessor.cs (1)
44
throw new
BuildErrorException
(Strings.UnrecognizedPreprocessorToken, $"${token}$", originalAssetPath);
ProduceContentAssets.cs (1)
206
throw new
BuildErrorException
(Strings.ContentPreproccessorParameterRequired, nameof(ProduceContentAssets), nameof(ContentPreprocessorOutputDirectory));
ResolvePackageAssets.cs (1)
2032
throw new
BuildErrorException
(Strings.CannotFindApphostForRid, runtimeTarget.RuntimeIdentifier);
ResolvePackageDependencies.cs (2)
416
throw new
BuildErrorException
(Strings.UnexpectedFileType, fileKey, fileType, currentFileType);
429
throw new
BuildErrorException
(Strings.ProjectAssetsConsumedWithoutMSBuildProjectPath, package.Name, ProjectAssetsFile);
RuntimeGraphCache.cs (1)
30
throw new
BuildErrorException
("Path not rooted: {0}", runtimeJsonPath);
SingleProjectInfo.cs (2)
87
throw new
BuildErrorException
(Strings.MissingItemMetadata, MetadataKeys.MSBuildSourceProjectFile, "ReferencePath", projectReferencePath.ItemSpec);
108
throw new
BuildErrorException
(Strings.MissingItemMetadata, MetadataKeys.MSBuildSourceProjectFile, "ReferenceSatellitePath", projectReferenceSatellitePath.ItemSpec);
StoreArtifactParser.cs (1)
24
throw new
BuildErrorException
(Strings.IncorrectTargetFormat, filterFile);