How to MAUI 8.0 Build in Azure pipeline

Jae 6 Reputation points
2023-10-29T09:16:49.8833333+00:00

How can i build build process using .NET SDK 8.0 instead of 7.0?

How can you flow through the Azure pipeline to build with the .NET SDK 8.0?

Here are some helpful details on the project configuration:

Framework : dotnet8.0

Projects in App Solution : MAUI Project, Java Binding Project

What is issue?

  • It should be build by DotNet 8.0 but Built by - DotNet SDK7.0

User's image

Azure pipeline configuration

Here are the steps:

  1. install java
  2. install SDK8.0 by task: UseDotNet@2
  3. .Install Maui workload by script in Reference the Maui-Samples- Azure pipeline
  4. restore and build
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,208 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,842 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Naveenommi 170 Reputation points Microsoft Vendor
    2023-10-30T04:57:48.25+00:00

    Hello @Jae

    Welcome to Microsoft Q&A Platform, thanks for posting your query here. Azure DevOps related queries/issues are currently not supported on this Microsoft Q&A platform.

    I would request you to please post your queries in dedicated forums as in below links:

    https://developercommunity.visualstudio.com/spaces/21/index.html

    https://developercommunity.visualstudio.com/t/get-unique-id-from-devops-organization/756710

    https://stackoverflow.com/questions/tagged/azure-devops

    0 comments No comments