You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm the software versions on my local computer match the ones in CI environment (e.g. Xcode version, Gradle version). See here
I confirm I am able to do a fresh clone of the repository and build the project on my local computer.
Which mobile framework are you using?
Other - please mention in your question
Steps to reproduce
MAUI Android build pipeline is failing. 3 days back it was worked.
I was using default .NET SDK for building my MAUI project. 3days back the build pipeline was working fine. But all of sudden it failed.
When I checked last successful build logs I found 4.0.7 is used there, and build failed starts from .NET 4.0.8. Then I specified .NET SDK 4.0.7 to be used to build the code, and again it started working.
But now again pipeline is failing with 4.0.7 .NET sdk as well. The log shows the fail is happening while installing MAUI workload.
Error Log:
Welcome to .NET 8.0!
SDK Version: 8.0.407
Telemetry
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
Clearing NuGet HTTP cache: /Users/builder/.local/share/NuGet/http-cache
Clearing NuGet global packages folder: /Users/builder/.nuget/packages/
Clearing NuGet Temp cache: /var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/NuGetScratch
Clearing NuGet plugins cache: /Users/builder/.local/share/NuGet/plugin-cache
Local resources cleared.
Determining projects to restore...
/Users/builder/clone/dotnet/sdk/8.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: maui-android [/Users/builder/clone/ReadywireSalesAI/ReadywireSalesAI.csproj::TargetFramework=net8.0-android]
/Users/builder/clone/dotnet/sdk/8.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/builder/clone/ReadywireSalesAI/ReadywireSalesAI.csproj::TargetFramework=net8.0-android]
Build failed :|
Step 5 script Install MAUI exited with status code 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Other - please mention in your question
Steps to reproduce
MAUI Android build pipeline is failing. 3 days back it was worked.
I was using default .NET SDK for building my MAUI project. 3days back the build pipeline was working fine. But all of sudden it failed.
When I checked last successful build logs I found 4.0.7 is used there, and build failed starts from .NET 4.0.8. Then I specified .NET SDK 4.0.7 to be used to build the code, and again it started working.
But now again pipeline is failing with 4.0.7 .NET sdk as well. The log shows the fail is happening while installing MAUI workload.
Error Log:
Welcome to .NET 8.0!
SDK Version: 8.0.407
Telemetry
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
Clearing NuGet HTTP cache: /Users/builder/.local/share/NuGet/http-cache
Clearing NuGet global packages folder: /Users/builder/.nuget/packages/
Clearing NuGet Temp cache: /var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/NuGetScratch
Clearing NuGet plugins cache: /Users/builder/.local/share/NuGet/plugin-cache
Local resources cleared.
Determining projects to restore...
/Users/builder/clone/dotnet/sdk/8.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: maui-android [/Users/builder/clone/ReadywireSalesAI/ReadywireSalesAI.csproj::TargetFramework=net8.0-android]
/Users/builder/clone/dotnet/sdk/8.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/builder/clone/ReadywireSalesAI/ReadywireSalesAI.csproj::TargetFramework=net8.0-android]
Build failed :|
Step 5 script
Install MAUI
exited with status code 1Expected results
Build failing while installing MAUI work load
Actual results
Build should be success.
Build id (optional)
67f773ed310458ac1df547d1
Beta Was this translation helpful? Give feedback.
All reactions