56 references to Package
Microsoft.DotNet.Build.Tasks.Feed (46)
src\model\PublishingConstants.cs (40)
127(TargetFeedContentType.Package, FeedDotNet6Shipping, AssetSelection.ShippingOnly), 128(TargetFeedContentType.Package, FeedDotNet6Transport, AssetSelection.NonShippingOnly), 135(TargetFeedContentType.Package, FeedDotNet6InternalShipping, AssetSelection.ShippingOnly), 136(TargetFeedContentType.Package, FeedDotNet6InternalTransport, AssetSelection.NonShippingOnly), 143(TargetFeedContentType.Package, FeedDotNet7Shipping, AssetSelection.ShippingOnly), 144(TargetFeedContentType.Package, FeedDotNet7Transport, AssetSelection.NonShippingOnly), 151(TargetFeedContentType.Package, FeedDotNet7InternalShipping, AssetSelection.ShippingOnly), 152(TargetFeedContentType.Package, FeedDotNet7InternalTransport, AssetSelection.NonShippingOnly), 159(TargetFeedContentType.Package, FeedDotNet8Shipping, AssetSelection.ShippingOnly), 160(TargetFeedContentType.Package, FeedDotNet8Transport, AssetSelection.NonShippingOnly), 167(TargetFeedContentType.Package, FeedDotNet8Workloads, AssetSelection.ShippingOnly), 168(TargetFeedContentType.Package, FeedDotNet8Workloads, AssetSelection.NonShippingOnly), 175(TargetFeedContentType.Package, FeedDotNet8InternalShipping, AssetSelection.ShippingOnly), 176(TargetFeedContentType.Package, FeedDotNet8InternalTransport, AssetSelection.NonShippingOnly), 183(TargetFeedContentType.Package, FeedDotNet9Shipping, AssetSelection.ShippingOnly), 184(TargetFeedContentType.Package, FeedDotNet9Transport, AssetSelection.NonShippingOnly), 191(TargetFeedContentType.Package, FeedDotNet9InternalShipping, AssetSelection.ShippingOnly), 192(TargetFeedContentType.Package, FeedDotNet9InternalTransport, AssetSelection.NonShippingOnly), 199(TargetFeedContentType.Package, FeedDotNet9Workloads, AssetSelection.ShippingOnly), 200(TargetFeedContentType.Package, FeedDotNet9Workloads, AssetSelection.NonShippingOnly), 207(TargetFeedContentType.Package, FeedDotNet10Shipping, AssetSelection.ShippingOnly), 208(TargetFeedContentType.Package, FeedDotNet10Transport, AssetSelection.NonShippingOnly), 215(TargetFeedContentType.Package, FeedDotNet10Workloads, AssetSelection.ShippingOnly), 216(TargetFeedContentType.Package, FeedDotNet10Workloads, AssetSelection.NonShippingOnly), 223(TargetFeedContentType.Package, FeedDotNetEng, AssetSelection.ShippingOnly), 224(TargetFeedContentType.Package, FeedDotNetEng, AssetSelection.NonShippingOnly), 231(TargetFeedContentType.Package, FeedDotNetTools, AssetSelection.ShippingOnly), 232(TargetFeedContentType.Package, FeedDotNetTools, AssetSelection.NonShippingOnly), 239(TargetFeedContentType.Package, FeedDotNetToolsInternal, AssetSelection.ShippingOnly), 240(TargetFeedContentType.Package, FeedDotNetToolsInternal, AssetSelection.NonShippingOnly), 247(TargetFeedContentType.Package, FeedDotNetExperimental, AssetSelection.ShippingOnly), 248(TargetFeedContentType.Package, FeedDotNetExperimental, AssetSelection.NonShippingOnly), 255(TargetFeedContentType.Package, FeedDotNetLibrariesShipping, AssetSelection.ShippingOnly), 256(TargetFeedContentType.Package, FeedDotNetLibrariesTransport, AssetSelection.NonShippingOnly), 263(TargetFeedContentType.Package, FeedDotNetLibrariesInternalShipping, AssetSelection.ShippingOnly), 264(TargetFeedContentType.Package, FeedDotNetLibrariesInternalTransport, AssetSelection.NonShippingOnly), 271(TargetFeedContentType.Package, FeedGeneralTesting, AssetSelection.ShippingOnly), 272(TargetFeedContentType.Package, FeedGeneralTesting, AssetSelection.NonShippingOnly), 279(TargetFeedContentType.Package, FeedGeneralTestingInternal, AssetSelection.ShippingOnly), 280(TargetFeedContentType.Package, FeedGeneralTestingInternal, AssetSelection.NonShippingOnly),
src\model\SetupTargetFeedConfigV3.cs (4)
105TargetFeedContentType.Package, 144if (IsStableBuild && ((type is TargetFeedContentType.Package && spec.Assets == AssetSelection.ShippingOnly) || type is TargetFeedContentType.Symbols)) 151if (type is TargetFeedContentType.Package && 157else if (type is TargetFeedContentType.Package &&
src\model\TargetChannelConfig.cs (1)
175if (assets == AssetSelection.All && contentTypes.Contains(TargetFeedContentType.Package))
src\PublishSignedAssets.cs (1)
83TargetFeedConfig targetFeedConfig = new TargetFeedConfig(TargetFeedContentType.Package, feedUrl, FeedType.AzDoNugetFeed, AzureDevOpsPersonalAccessToken);
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
PublishArtifactsInManifestTests.cs (1)
104TargetFeedConfig config = new TargetFeedConfig(TargetFeedContentType.Package, "testUrl", FeedType.AzDoNugetFeed, "tokenValue");
SetupTargetFeedConfigV3Tests.cs (9)
94TargetFeedContentType.Package, 122TargetFeedContentType.Package, 205TargetFeedContentType.Package, 218TargetFeedContentType.Package, 313TargetFeedContentType.Package, 327TargetFeedContentType.Package, 443Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 446Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 449Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);