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