56 references to PackagingException
NuGet.Build.Tasks.Pack (17)
PackTaskLogic.cs (17)
58throw new PackagingException(NuGetLogCode.NU5022, string.Format( 116throw new PackagingException(NuGetLogCode.NU5023, string.Format( 145throw new PackagingException(NuGetLogCode.NU5024, string.Format( 200throw new PackagingException(NuGetLogCode.NU5022, string.Format( 216throw new PackagingException(NuGetLogCode.NU5025, string.Format( 260throw new PackagingException(NuGetLogCode.NU5035, string.Format( 267throw new PackagingException(NuGetLogCode.NU5033, string.Format( 300throw new PackagingException(NuGetLogCode.NU5034, string.Format( 331throw new PackagingException(NuGetLogCode.NU5034, string.Format( 346throw new PackagingException(NuGetLogCode.NU5028, Strings.NoPackItemProvided); 465throw new PackagingException(NuGetLogCode.NU5051, 535throw new PackagingException(NuGetLogCode.NU5026, string.Format(CultureInfo.CurrentCulture, Strings.Error_FileNotFound, finalOutputPath)); 552throw new PackagingException(NuGetLogCode.NU5051, 563throw new PackagingException(NuGetLogCode.NU5027, string.Format(CultureInfo.CurrentCulture, Strings.InvalidTargetFramework, finalOutputPath)); 622throw new PackagingException(NuGetLogCode.NU5028, Strings.NoPackItemProvided); 889throw new PackagingException(NuGetLogCode.NU5051, 1171throw new PackagingException(NuGetLogCode.NU5029, Strings.InvalidNuspecProperties);
NuGet.Commands (11)
CommandRunners\PackCommandRunner.cs (9)
207throw new PackagingException( 414throw new PackagingException( 487throw new PackagingException( 603throw new PackagingException( 759throw new PackagingException( 946throw new PackagingException(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified); 970throw new PackagingException(NuGetLogCode.NU5002, Strings.Error_InputFileNotSpecified); 1007throw new PackagingException( 1037throw new PackagingException(
MSBuildProjectFactory.cs (2)
246throw new PackagingException(NuGetLogCode.NU5020, string.Format(CultureInfo.CurrentCulture, Strings.Error_EmptySourceFilePath)); 251throw new PackagingException(NuGetLogCode.NU5021, string.Format(CultureInfo.CurrentCulture, Strings.Error_EmptySourceFileProjectDirectory, sourcePath));
NuGet.Packaging (28)
PackageCreation\Authoring\ManifestReader.cs (3)
206throw new PackagingException(NuGetLogCode.NU5034, string.Format( 226throw new PackagingException(NuGetLogCode.NU5032, e.Message); 230throw new PackagingException(NuGetLogCode.NU5034, string.Format(
PackageCreation\Authoring\PackageBuilder.cs (22)
90throw new PackagingException( 179throw new PackagingException( 332throw new PackagingException(NuGetLogCode.NU5017, NuGetResources.CannotCreateEmptyPackage); 507throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromDependencyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str)))); 530throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromReferenceGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str)))); 544throw new PackagingException(NuGetLogCode.NU5018, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_InvalidReference, reference)); 559throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyReferences, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str)))); 569throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str)))); 619throw new PackagingException(NuGetLogCode.NU5050, string.Format(CultureInfo.CurrentCulture, NuGetResources.FoundDuplicateFile, string.Join(", ", duplicates))); 633throw new PackagingException(NuGetLogCode.NU5031, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileExtensionIsInvalid, licenseMetadata.License)); 648throw new PackagingException(NuGetLogCode.NU5030, errorMessage); 670throw new PackagingException( 690throw new PackagingException(NuGetLogCode.NU5046, errorMessage); 703throw new PackagingException(Common.NuGetLogCode.NU5047, NuGetResources.IconMaxFileSizeExceeded); 708throw new PackagingException(Common.NuGetLogCode.NU5047, NuGetResources.IconErrorEmpty); 714throw new PackagingException( 775throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromIncludedFiles, string.Join(", ", itemsWithFrameworkMissingPlatformVersion.OrderBy(str => str)))); 795throw new PackagingException( 810throw new PackagingException( 827throw new PackagingException( 835throw new PackagingException( 1036throw new PackagingException(NuGetLogCode.NU5019,
PackageFolderReader.cs (1)
76throw new PackagingException(NuGetLogCode.NU5037, message.ToString());
PackageReaderBase.cs (1)
539throw new PackagingException(NuGetLogCode.NU5037, Strings.Error_MissingNuspecFile);
Signing\SignatureException.cs (1)
25: base(code, message)