32 instantiations of BuildErrorException
Microsoft.NET.Build.Tasks (32)
AssetsFileResolver.cs (1)
124
throw new
BuildErrorException
(Strings.IncorrectPackageRoot, pkgRoot, libraryPath);
CreateAppHost.cs (4)
88
throw new
BuildErrorException
(Strings.InvalidAppHostDotNetSearch, locationItem.ItemSpec);
141
throw new
BuildErrorException
(Strings.FileNameIsTooLong, ex.LongName);
145
throw new
BuildErrorException
(Strings.AppHostSigningFailed, ex.Message, ex.ExitCode.ToString());
149
throw new
BuildErrorException
(Strings.AppHostHasBeenModified, AppHostSourcePath, BitConverter.ToString(ex.MissingPattern));
DependencyContextBuilder.cs (1)
855
throw new
BuildErrorException
(Strings.CannotFindProjectInfo, library.Name);
GenerateShims.cs (2)
138
throw new
BuildErrorException
(Strings.FileNameIsTooLong, ex.LongName);
142
throw new
BuildErrorException
(Strings.AppHostHasBeenModified, resolvedApphostAssetPath, BitConverter.ToString(ex.MissingPattern));
GenerateToolsSettingsFile.cs (1)
60
throw new
BuildErrorException
(
JoinItems.cs (1)
56
throw new
BuildErrorException
(Strings.InvalidItemSpecToUse, ItemSpecToUse);
LockFileCache.cs (5)
27
throw new
BuildErrorException
(Strings.AssetsFileNotSet);
31
throw new
BuildErrorException
(Strings.AssetsFilePathNotRooted, path);
86
throw new
BuildErrorException
(
97
throw new
BuildErrorException
(Strings.AssetsFileNotFound, path);
119
throw new
BuildErrorException
(
LockFileExtensions.cs (1)
49
throw new
BuildErrorException
(message);
NugetContentAssetPreprocessor.cs (1)
44
throw new
BuildErrorException
(Strings.UnrecognizedPreprocessorToken, $"${token}$", originalAssetPath);
NuGetPackageResolver.cs (1)
50
throw new
BuildErrorException
(
parent\Common\ConflictResolution\FrameworkListReader.cs (1)
25
throw new
BuildErrorException
(Strings.FrameworkListPathNotRooted, frameworkListPath.OriginalValue);
ProduceContentAssets.cs (1)
206
throw new
BuildErrorException
(Strings.ContentPreproccessorParameterRequired, nameof(ProduceContentAssets), nameof(ContentPreprocessorOutputDirectory));
ResolvePackageAssets.cs (2)
348
throw new
BuildErrorException
(Strings.AssetsFileNotSet);
2117
throw new
BuildErrorException
(Strings.CannotFindApphostForRid, runtimeTarget.RuntimeIdentifier);
ResolvePackageDependencies.cs (2)
419
throw new
BuildErrorException
(Strings.UnexpectedFileType, fileKey, fileType, currentFileType);
432
throw new
BuildErrorException
(Strings.ProjectAssetsConsumedWithoutMSBuildProjectPath, package.Name, ProjectAssetsFile);
ResolveRuntimePackAssets.cs (3)
162
throw new
BuildErrorException
(string.Format(Strings.RuntimeListNotFound, runtimeListPath));
233
throw new
BuildErrorException
($"Culture not set in runtime manifest for {Path.GetFullPath(Path.Combine(runtimePack.GetMetadata(MetadataKeys.PackageDirectory), fileElement.Attribute("Path").Value))}");
243
throw new
BuildErrorException
($"Unrecognized file type '{typeAttributeValue}' in {Path.Combine(absoluteRuntimePackRoot.OriginalValue, absoluteRuntimeListPath.OriginalValue)}");
RuntimeGraphCache.cs (1)
33
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);
WriteAppConfigWithSupportedRuntime.cs (1)
168
throw new
BuildErrorException
(Strings.AppConfigRequiresRootConfiguration);
1 reference to BuildErrorException
Microsoft.NET.Build.Tasks (1)
parent\Common\TaskBase.cs (1)
38
catch (
BuildErrorException
e)