32 instantiations of BuildErrorException
Microsoft.NET.Build.Tasks (32)
AssetsFileResolver.cs (1)
124throw new BuildErrorException(Strings.IncorrectPackageRoot, pkgRoot, libraryPath);
CreateAppHost.cs (4)
83throw new BuildErrorException(Strings.InvalidAppHostDotNetSearch, locationItem.ItemSpec); 136throw new BuildErrorException(Strings.FileNameIsTooLong, ex.LongName); 140throw new BuildErrorException(Strings.AppHostSigningFailed, ex.Message, ex.ExitCode.ToString()); 144throw new BuildErrorException(Strings.AppHostHasBeenModified, AppHostSourcePath, BitConverter.ToString(ex.MissingPattern));
DependencyContextBuilder.cs (1)
849throw new BuildErrorException(Strings.CannotFindProjectInfo, library.Name);
FrameworkListReader.cs (1)
28throw new BuildErrorException(Strings.FrameworkListPathNotRooted, frameworkListPath);
GenerateShims.cs (2)
138throw new BuildErrorException(Strings.FileNameIsTooLong, ex.LongName); 142throw new BuildErrorException(Strings.AppHostHasBeenModified, resolvedApphostAssetPath, BitConverter.ToString(ex.MissingPattern));
GenerateToolsSettingsFile.cs (1)
56throw new BuildErrorException(
JoinItems.cs (1)
55throw new BuildErrorException(Strings.InvalidItemSpecToUse, ItemSpecToUse);
LockFileCache.cs (5)
27throw new BuildErrorException(Strings.AssetsFileNotSet); 31throw new BuildErrorException(Strings.AssetsFilePathNotRooted, path); 86throw new BuildErrorException( 97throw new BuildErrorException(Strings.AssetsFileNotFound, path); 119throw new BuildErrorException(
LockFileExtensions.cs (1)
49throw new BuildErrorException(message);
NugetContentAssetPreprocessor.cs (1)
44throw new BuildErrorException(Strings.UnrecognizedPreprocessorToken, $"${token}$", originalAssetPath);
NuGetPackageResolver.cs (1)
50throw new BuildErrorException(
ProduceContentAssets.cs (1)
206throw new BuildErrorException(Strings.ContentPreproccessorParameterRequired, nameof(ProduceContentAssets), nameof(ContentPreprocessorOutputDirectory));
ResolvePackageAssets.cs (2)
345throw new BuildErrorException(Strings.AssetsFileNotSet); 2032throw new BuildErrorException(Strings.CannotFindApphostForRid, runtimeTarget.RuntimeIdentifier);
ResolvePackageDependencies.cs (2)
416throw new BuildErrorException(Strings.UnexpectedFileType, fileKey, fileType, currentFileType); 429throw new BuildErrorException(Strings.ProjectAssetsConsumedWithoutMSBuildProjectPath, package.Name, ProjectAssetsFile);
ResolveRuntimePackAssets.cs (3)
154throw new BuildErrorException(string.Format(Strings.RuntimeListNotFound, runtimeListPath)); 222throw new BuildErrorException($"Culture not set in runtime manifest for {assetPath}"); 232throw new BuildErrorException($"Unrecognized file type '{typeAttributeValue}' in {runtimeListPath}");
RuntimeGraphCache.cs (1)
30throw new BuildErrorException("Path not rooted: {0}", runtimeJsonPath);
SingleProjectInfo.cs (2)
87throw new BuildErrorException(Strings.MissingItemMetadata, MetadataKeys.MSBuildSourceProjectFile, "ReferencePath", projectReferencePath.ItemSpec); 108throw new BuildErrorException(Strings.MissingItemMetadata, MetadataKeys.MSBuildSourceProjectFile, "ReferenceSatellitePath", projectReferenceSatellitePath.ItemSpec);
StoreArtifactParser.cs (1)
24throw new BuildErrorException(Strings.IncorrectTargetFormat, filterFile);
WriteAppConfigWithSupportedRuntime.cs (1)
162throw new BuildErrorException(Strings.AppConfigRequiresRootConfiguration);
1 reference to BuildErrorException
Microsoft.NET.Build.Tasks (1)
TaskBase.cs (1)
38catch (BuildErrorException e)