From ea6734fa342687deaf5616449cf5c074978d4205 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Wed, 30 Oct 2024 12:39:32 -0500 Subject: [PATCH] [build] fix missing `darc-pub-dotnet-android-*` feed for MAUI (#9468) Our MAUI integration lane currently fails with: Workload installation failed: Version 34.0.145 of package microsoft.android.sdk.windows is not found in NuGet feeds... They are missing the `darc-pub-dotnet-android-df9aaf2-1` feed containing our .NET 8 package on the dotnet/maui/net9.0 branch. To fix this, let's read our `NuGet.config` and add any sources that start with `darc-pub-dotnet-android-*` into their `NuGet.config`. --- build-tools/scripts/DotNet.targets | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/build-tools/scripts/DotNet.targets b/build-tools/scripts/DotNet.targets index 511d187def3..7ccdef1f5e5 100644 --- a/build-tools/scripts/DotNet.targets +++ b/build-tools/scripts/DotNet.targets @@ -56,6 +56,26 @@ XmlInputPath="$(MauiSourcePath)\src\DotNet\Dependencies\Workloads.csproj" Value="Microsoft.NET.Sdk.Android.Manifest-$(DotNetSdkManifestsFolder)" Query="/Project/ItemGroup/PackageDownload[contains(@Include,'Microsoft.NET.Sdk.Android.Manifest-')]/@Include" /> + + + + + + + + <_DotNetMauiFeeds Include="@(_DotNetAndroidFeeds)" /> + +