From 57c5575a8db068e04982b44ce8dc959d29d54702 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Wed, 30 Nov 2022 08:08:01 -0600 Subject: [PATCH] [release] Move NuGet feed from CDPx to DART (#22363) * [release] Move NuGet feed from CDPx to DART Since the release pipeline is run in the DART Azure DevOps project, we no longer need to authenticate against it. The build agent will be running with a token that allows access. * restore nuget.config * We should still authenticate against this org, not a specific feed * rename the feed * whoa whoa whoa okay * [ci]Conditionally add labs package except in Dart (#22294) * Propagate Jaime's change Co-authored-by: Jaime Bernardo --- .pipelines/release-nuget.config | 2 +- .pipelines/release.yml | 2 -- nuget.config | 5 +++++ .../FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj | 4 ++-- .../Settings.UI.UnitTests/Settings.UI.UnitTests.csproj | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 nuget.config diff --git a/.pipelines/release-nuget.config b/.pipelines/release-nuget.config index c9debdad23..e1d43f2b79 100644 --- a/.pipelines/release-nuget.config +++ b/.pipelines/release-nuget.config @@ -2,7 +2,7 @@ - + diff --git a/.pipelines/release.yml b/.pipelines/release.yml index 8a53d0eba3..fec04008c4 100644 --- a/.pipelines/release.yml +++ b/.pipelines/release.yml @@ -68,8 +68,6 @@ jobs: version: '6.x' - task: NuGetAuthenticate@0 - inputs: - nuGetServiceConnections: PowerToysCDPxFeed - task: NuGetToolInstaller@1 displayName: Use NuGet Installer latest diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000000..5a4b9c0fb9 --- /dev/null +++ b/nuget.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/modules/FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj b/src/modules/FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj index e7e4315e33..2caa45a82d 100644 --- a/src/modules/FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj +++ b/src/modules/FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj @@ -47,8 +47,8 @@ false - - + + https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json diff --git a/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj b/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj index 5f772a116b..490c746b2d 100644 --- a/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj +++ b/src/settings-ui/Settings.UI.UnitTests/Settings.UI.UnitTests.csproj @@ -18,8 +18,8 @@ ..\..\..\x64\Release\SettingsTest\ - - + + https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json