-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[build] add feeds to fix MAUI Integration
#9344
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trying to fix the error: ##[error]build-tools\scripts\DotNet.targets(115,5): Error MSB3073: The command ""bin\Release\dotnet\dotnet" workload install maui --skip-manifest-update --skip-sign-check --verbosity diag --source "build-tools\scripts\..\..\..\maui\artifacts" --source "D:\a\_work\1\a\android-packs" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/benchmark-dotnet-prerelease/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/SkiaSharp/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-2674f580/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-ed13b351/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-45bb7f36/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-bc01f5e0/nuget/v3/index.json" --temp-dir "bin\Release\dotnet\..\.xa-workload-temp-at32pghi.3t5"" exited with code 1. 1>build-tools\scripts\DotNet.targets(115,5): error MSB3073: The command ""bin\Release\dotnet\dotnet" workload install maui --skip-manifest-update --skip-sign-check --verbosity diag --source "build-tools\scripts\..\..\..\maui\artifacts" --source "D:\a\_work\1\a\android-packs" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/benchmark-dotnet-prerelease/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/SkiaSharp/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-2674f580/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-ed13b351/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-45bb7f36/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-bc01f5e0/nuget/v3/index.json" --temp-dir "bin\Release\dotnet\..\.xa-workload-temp-at32pghi.3t5"" exited with code 1. 1>Done Building Project "Xamarin.Android.sln" (InstallMaui target(s)) -- FAILED. Using the latest 8.0.10 feeds from dotnet/runtime. We also can update the two `<XmlPeek/>` calls on the `NuGet.config` in order to: * Add `$(MauiSourcePath)\NuGet.config` to the `@(_NuGetSources)` item group. * Add `$(XamarinAndroidSourcePath)NuGet.config` to the `@(_NuGetSources)` item group. So, we end up using the MAUI feeds + our feeds second, which is more likely to work when both repos are not aligned.
grendello
approved these changes
Sep 30, 2024
There is a |
jonathanpeppers
added a commit
that referenced
this pull request
Sep 30, 2024
Trying to fix the error: ##[error]build-tools\scripts\DotNet.targets(115,5): Error MSB3073: The command ""bin\Release\dotnet\dotnet" workload install maui --skip-manifest-update --skip-sign-check --verbosity diag --source "build-tools\scripts\..\..\..\maui\artifacts" --source "D:\a\_work\1\a\android-packs" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/benchmark-dotnet-prerelease/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/SkiaSharp/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-2674f580/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-ed13b351/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-45bb7f36/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-bc01f5e0/nuget/v3/index.json" --temp-dir "bin\Release\dotnet\..\.xa-workload-temp-at32pghi.3t5"" exited with code 1. 1>build-tools\scripts\DotNet.targets(115,5): error MSB3073: The command ""bin\Release\dotnet\dotnet" workload install maui --skip-manifest-update --skip-sign-check --verbosity diag --source "build-tools\scripts\..\..\..\maui\artifacts" --source "D:\a\_work\1\a\android-packs" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/benchmark-dotnet-prerelease/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/SkiaSharp/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-2674f580/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-ed13b351/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-45bb7f36/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-xamarin-xamarin-macios-bc01f5e0/nuget/v3/index.json" --temp-dir "bin\Release\dotnet\..\.xa-workload-temp-at32pghi.3t5"" exited with code 1. 1>Done Building Project "Xamarin.Android.sln" (InstallMaui target(s)) -- FAILED. Using the latest 8.0.10 feeds from dotnet/runtime. We also can update the two `<XmlPeek/>` calls on the `NuGet.config` in order to: * Add `$(MauiSourcePath)\NuGet.config` to the `@(_NuGetSources)` item group. * Add `$(XamarinAndroidSourcePath)NuGet.config` to the `@(_NuGetSources)` item group. So, we end up using the MAUI feeds + our feeds second, which is more likely to work when both repos are not aligned.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trying to fix the error:
Using the latest 8.0.10 feeds from dotnet/runtime.
We also can update the two
<XmlPeek/>
calls on theNuGet.config
in order to:Add
$(MauiSourcePath)\NuGet.config
to the@(_NuGetSources)
item group.Add
$(XamarinAndroidSourcePath)NuGet.config
to the@(_NuGetSources)
item group.So, we end up using the MAUI feeds + our feeds second, which is more likely to work when both repos are not aligned.