56 references to PackagingException
NuGet.Build.Tasks.Pack (17)
PackTaskLogic.cs (17)
60
throw new
PackagingException
(NuGetLogCode.NU5022, string.Format(
111
throw new
PackagingException
(NuGetLogCode.NU5023, string.Format(
140
throw new
PackagingException
(NuGetLogCode.NU5024, string.Format(
195
throw new
PackagingException
(NuGetLogCode.NU5022, string.Format(
211
throw new
PackagingException
(NuGetLogCode.NU5025, string.Format(
255
throw new
PackagingException
(NuGetLogCode.NU5035, string.Format(
262
throw new
PackagingException
(NuGetLogCode.NU5033, string.Format(
295
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
326
throw new
PackagingException
(NuGetLogCode.NU5034, string.Format(
341
throw new
PackagingException
(NuGetLogCode.NU5028, Strings.NoPackItemProvided);
460
throw new
PackagingException
(NuGetLogCode.NU5051,
530
throw new
PackagingException
(NuGetLogCode.NU5026, string.Format(CultureInfo.CurrentCulture, Strings.Error_FileNotFound, finalOutputPath));
547
throw new
PackagingException
(NuGetLogCode.NU5051,
558
throw new
PackagingException
(NuGetLogCode.NU5027, string.Format(CultureInfo.CurrentCulture, Strings.InvalidTargetFramework, finalOutputPath));
617
throw new
PackagingException
(NuGetLogCode.NU5028, Strings.NoPackItemProvided);
884
throw new
PackagingException
(NuGetLogCode.NU5051,
1166
throw new
PackagingException
(NuGetLogCode.NU5029, Strings.InvalidNuspecProperties);
NuGet.Commands (11)
CommandRunners\PackCommandRunner.cs (9)
219
throw new
PackagingException
(
432
throw new
PackagingException
(
505
throw new
PackagingException
(
621
throw new
PackagingException
(
777
throw new
PackagingException
(
965
throw new
PackagingException
(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified);
989
throw new
PackagingException
(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified);
1026
throw new
PackagingException
(
1056
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));
NuGet.Packaging (28)
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);
478
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromDependencyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
511
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromReferenceGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
525
throw new
PackagingException
(NuGetLogCode.NU5018, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_InvalidReference, reference));
540
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyReferences, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
550
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
600
throw new
PackagingException
(NuGetLogCode.NU5050, string.Format(CultureInfo.CurrentCulture, NuGetResources.FoundDuplicateFile, string.Join(", ", duplicates)));
614
throw new
PackagingException
(NuGetLogCode.NU5031, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileExtensionIsInvalid, licenseMetadata.License));
629
throw new
PackagingException
(NuGetLogCode.NU5030, errorMessage);
651
throw new
PackagingException
(
671
throw new
PackagingException
(NuGetLogCode.NU5046, errorMessage);
684
throw new
PackagingException
(Common.NuGetLogCode.NU5047, NuGetResources.IconMaxFileSizeExceeded);
689
throw new
PackagingException
(Common.NuGetLogCode.NU5047, NuGetResources.IconErrorEmpty);
695
throw new
PackagingException
(
756
throw new
PackagingException
(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromIncludedFiles, string.Join(", ", itemsWithFrameworkMissingPlatformVersion.OrderBy(str => str))));
776
throw new
PackagingException
(
791
throw new
PackagingException
(
808
throw new
PackagingException
(
816
throw new
PackagingException
(
1017
throw new
PackagingException
(NuGetLogCode.NU5019,
PackageFolderReader.cs (1)
78
throw new
PackagingException
(NuGetLogCode.NU5037, message.ToString());
PackageReaderBase.cs (1)
539
throw new
PackagingException
(NuGetLogCode.NU5037, Strings.Error_MissingNuspecFile);
Signing\SignatureException.cs (1)
25
:
base
(code, message)