5 types derived from PackagingException
NuGet.Packaging (5)
Exceptions\MinClientVersionException.cs (1)
12
public class MinClientVersionException :
PackagingException
, ILogMessageException
Exceptions\PackagesConfigReaderException.cs (1)
9
public class PackagesConfigReaderException :
PackagingException
Exceptions\PackagesConfigWriterException.cs (1)
9
public class PackagesConfigWriterException :
PackagingException
Exceptions\UnsafePackageEntryException.cs (1)
9
public class UnsafePackageEntryException :
PackagingException
, ILogMessageException
Signing\SignatureException.cs (1)
11
public class SignatureException :
PackagingException
76 instantiations of PackagingException
NuGet.Build.Tasks.Pack (18)
PackTaskLogic.cs (18)
58
throw new
PackagingException
(NuGetLogCode.NU5022, string.Format(
116
throw new
PackagingException
(NuGetLogCode.NU5023, string.Format(
145
throw new
PackagingException
(NuGetLogCode.NU5024, string.Format(
200
throw new
PackagingException
(NuGetLogCode.NU5022, string.Format(
216
throw new
PackagingException
(NuGetLogCode.NU5025, string.Format(
260
throw new
PackagingException
(NuGetLogCode.NU5035, string.Format(
267
throw new
PackagingException
(NuGetLogCode.NU5033, string.Format(
291
throw new
PackagingException
(NuGetLogCode.NU5032, string.Format(
300
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
331
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
346
throw new
PackagingException
(NuGetLogCode.NU5028, Strings.NoPackItemProvided);
465
throw new
PackagingException
(NuGetLogCode.NU5051,
535
throw new
PackagingException
(NuGetLogCode.NU5026, string.Format(CultureInfo.CurrentCulture, Strings.Error_FileNotFound, finalOutputPath));
552
throw new
PackagingException
(NuGetLogCode.NU5051,
563
throw new
PackagingException
(NuGetLogCode.NU5027, string.Format(CultureInfo.CurrentCulture, Strings.InvalidTargetFramework, finalOutputPath));
622
throw new
PackagingException
(NuGetLogCode.NU5028, Strings.NoPackItemProvided);
889
throw new
PackagingException
(NuGetLogCode.NU5051,
1171
throw new
PackagingException
(NuGetLogCode.NU5029, Strings.InvalidNuspecProperties);
NuGet.Commands (13)
CommandRunners\PackCommandRunner.cs (10)
207
throw new
PackagingException
(
414
throw new
PackagingException
(
487
throw new
PackagingException
(
528
throw new
PackagingException
(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackFailed, path));
603
throw new
PackagingException
(
759
throw new
PackagingException
(
946
throw new
PackagingException
(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified);
970
throw new
PackagingException
(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified);
1007
throw new
PackagingException
(
1037
throw new
PackagingException
(
MSBuildProjectFactory.cs (2)
246
throw new
PackagingException
(NuGetLogCode.NU5020, string.Format(CultureInfo.CurrentCulture, Strings.Error_EmptySourceFilePath));
251
throw new
PackagingException
(NuGetLogCode.NU5021, string.Format(CultureInfo.CurrentCulture, Strings.Error_EmptySourceFileProjectDirectory, sourcePath));
RestoreCommand\ContentFiles\ContentFileUtils.cs (1)
199
throw new
PackagingException
(message);
NuGet.PackageManagement (2)
InstallationCompatibility.cs (2)
157
throw new
PackagingException
(string.Format(
180
throw new
PackagingException
(string.Format(
NuGet.Packaging (42)
Core\NuspecCoreReaderBase.cs (1)
192
throw new
PackagingException
(string.Format(
Core\NuspecUtility.cs (2)
77
throw new
PackagingException
(Strings.MissingPackageTypeName);
90
throw new
PackagingException
(string.Format(
FallbackPackagePathResolver.cs (1)
60
throw new
PackagingException
(message);
NuspecReader.cs (4)
308
throw new
PackagingException
(message);
620
throw new
PackagingException
(message);
687
throw new
PackagingException
(message);
701
throw new
PackagingException
(message);
PackageArchiveReader.cs (1)
377
throw new
PackagingException
(string.Format(
PackageCreation\Authoring\ManifestReader.cs (3)
206
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
226
throw new
PackagingException
(NuGetLogCode.NU5032, e.Message);
230
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
PackageCreation\Authoring\PackageBuilder.cs (22)
90
throw new
PackagingException
(
179
throw new
PackagingException
(
332
throw new
PackagingException
(NuGetLogCode.NU5017, NuGetResources.CannotCreateEmptyPackage);
507
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromDependencyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
530
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromReferenceGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
544
throw new
PackagingException
(NuGetLogCode.NU5018, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_InvalidReference, reference));
559
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyReferences, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
569
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
619
throw new
PackagingException
(NuGetLogCode.NU5050, string.Format(CultureInfo.CurrentCulture, NuGetResources.FoundDuplicateFile, string.Join(", ", duplicates)));
633
throw new
PackagingException
(NuGetLogCode.NU5031, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileExtensionIsInvalid, licenseMetadata.License));
648
throw new
PackagingException
(NuGetLogCode.NU5030, errorMessage);
670
throw new
PackagingException
(
690
throw new
PackagingException
(NuGetLogCode.NU5046, errorMessage);
703
throw new
PackagingException
(Common.NuGetLogCode.NU5047, NuGetResources.IconMaxFileSizeExceeded);
708
throw new
PackagingException
(Common.NuGetLogCode.NU5047, NuGetResources.IconErrorEmpty);
714
throw new
PackagingException
(
775
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromIncludedFiles, string.Join(", ", itemsWithFrameworkMissingPlatformVersion.OrderBy(str => str))));
795
throw new
PackagingException
(
810
throw new
PackagingException
(
827
throw new
PackagingException
(
835
throw new
PackagingException
(
1036
throw new
PackagingException
(NuGetLogCode.NU5019,
PackageExtractor.cs (1)
605
throw new
PackagingException
(message);
PackageFolderReader.cs (2)
76
throw new
PackagingException
(NuGetLogCode.NU5037, message.ToString());
80
throw new
PackagingException
(Strings.MultipleNuspecFiles);
PackageReaderBase.cs (3)
472
throw new
PackagingException
(
539
throw new
PackagingException
(NuGetLogCode.NU5037, Strings.Error_MissingNuspecFile);
543
throw new
PackagingException
(Strings.MultipleNuspecFiles);
PackagesConfigWriter.cs (1)
122
throw new
PackagingException
(string.Format(CultureInfo.CurrentCulture,
Rules\InvalidUndottedFrameworkRule.cs (1)
56
throw new
PackagingException
(string.Format(
NuGet.Protocol (1)
LocalRepositories\LocalV3FindPackageByIdResource.cs (1)
458
var inner = new
PackagingException
(message, ex);
10 references to PackagingException
NuGet.Commands (3)
CommandRunners\PackCommandRunner.cs (3)
84
/// <exception cref="
PackagingException
">If a core packaging validation fails.</exception>
106
/// If a core validation fails, this method will throw a <see cref="
PackagingException
"/>.
113
/// <exception cref="
PackagingException
">If a core packaging validation fails.</exception>
NuGet.Packaging (2)
PackageCreation\Authoring\PackageBuilder.cs (2)
659
/// <exception cref="
PackagingException
">When a validation rule is not met</exception>
784
/// <exception cref="
PackagingException
">When a validation rule is not met</exception>
NuGet.Protocol (5)
LocalRepositories\LocalV2FindPackageByIdResource.cs (1)
447
catch (
PackagingException
ex)
LocalRepositories\LocalV3FindPackageByIdResource.cs (2)
458
var
inner = new PackagingException(message, ex);
462
catch (
PackagingException
ex)
RemoteRepositories\PackageUtilities.cs (1)
34
catch (Exception exception) when (exception is
PackagingException
||
Utility\OfflineFeedUtility.cs (1)
230
|| ex is
PackagingException
)))