31 references to PublishingConstants
Microsoft.DotNet.Build.Tasks.Feed (11)
src\AzureDevOpsNugetFeedAssetPublisher.cs (2)
38var parsedUri = Regex.Match(_targetUrl, PublishingConstants.AzDoNuGetFeedPattern); 42$"Azure DevOps NuGetFeed was not in the expected format '{PublishingConstants.AzDoNuGetFeedPattern}'");
src\model\SetupTargetFeedConfigV3.cs (1)
132if (PublishingConstants.InstallersAndChecksums.Contains(type))
src\PublishArtifactsInManifest.cs (2)
182set { Enum.TryParse<PublishingConstants.BuildQuality>(value, true, out _buildQuality); } 232private PublishingConstants.BuildQuality _buildQuality;
src\PublishArtifactsInManifestBase.cs (5)
1289var parsedUri = Regex.Match(feedConfig.TargetURL, PublishingConstants.AzDoNuGetFeedPattern); 1293$"Azure DevOps NuGetFeed was not in the expected format '{PublishingConstants.AzDoNuGetFeedPattern}'"); 1508: PublishingConstants.ExpectedFeedUrlSuffix.Length); 1638var parsedUri = Regex.Match(feedConfig.TargetURL, PublishingConstants.AzDoNuGetFeedPattern); 1643$"Azure DevOps NuGetFeed was not in the expected format '{PublishingConstants.AzDoNuGetFeedPattern}'");
src\PublishArtifactsInManifestV3.cs (1)
110TargetChannelConfig targetChannelConfig = PublishingConstants.ChannelInfos
Microsoft.DotNet.Build.Tasks.Feed.Tests (20)
GeneralTests.cs (1)
27foreach (var channelConfig in PublishingConstants.ChannelInfos)
PublishArtifactsInManifestTests.cs (1)
66var matches = Regex.Match(uri, PublishingConstants.AzDoNuGetFeedPattern);
SetupTargetFeedConfigV3Tests.cs (18)
60var installersKey = new TaskItem(PublishingConstants.FeedStagingForInstallers); 62var checksumsKey = new TaskItem(PublishingConstants.FeedStagingForChecksums); 123PublishingConstants.FeedDotNetEng, 145PublishingConstants.FeedStagingForInstallers, 159PublishingConstants.FeedStagingForChecksums, 173var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 206PublishingConstants.FeedDotNetEng, 219PublishingConstants.FeedDotNetEng, 237PublishingConstants.FeedStagingForInstallers, 252PublishingConstants.FeedStagingForChecksums, 269PublishingConstants.FeedStagingForInstallers, 282var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 314PublishingConstants.FeedDotNetEng, 328PublishingConstants.FeedDotNetEng, 346PublishingConstants.FeedStagingForInstallers, 361PublishingConstants.FeedStagingForChecksums, 377PublishingConstants.FeedStagingForInstallers, 390var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2);