Skip to content

Enable MAUI samples when TargetFramework=net11.0 becomes available #5055

@kotlarmilos

Description

@kotlarmilos

Description

Currently TargetFramework=net11.0 isn't supported in dotnet/dotnet yet. Once dotnet/dotnet#3754 gets merged, it will take a few days to get dotnet/android and dotnet/macios working, then dotnet/maui.

Tasks

  • Enable MAUI IOS samples
  • Enable MAUI Android samples
Logs MAUI Android scenarios fail during the Run performance job step.
Failed to restore D:\a\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\mauiandroid\app\MauiAndroidDefault.csproj (in 3.08 sec).
[2025/11/28 12:10:17][INFO]   [2025/11/28 12:10:17][INFO] $ popd
[2025/11/28 12:10:17][INFO]   [2025/11/28 12:10:17][ERROR] Process exited with status 1
[2025/11/28 12:10:17][INFO]   /p:UseMonoRuntime=false;/p:PublishReadyToRun=true;/p:PublishReadyToRunComposite=false
[2025/11/28 12:10:17][INFO]   Traceback (most recent call last):
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\mauiandroid\pre.py", line 31, in <module>
[2025/11/28 12:10:17][INFO]       precommands.execute([])
[2025/11/28 12:10:17][INFO]       ~~~~~~~~~~~~~~~~~~~^^^^
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\src\scenarios\shared\precommands.py", line 209, in execute
[2025/11/28 12:10:17][INFO]       self._restore()
[2025/11/28 12:10:17][INFO]       ~~~~~~~~~~~~~^^
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\src\scenarios\shared\precommands.py", line 380, in _restore
[2025/11/28 12:10:17][INFO]       self.project.restore(packages_path=get_packages_directory(),
[2025/11/28 12:10:17][INFO]       ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025/11/28 12:10:17][INFO]                            verbose=True,
[2025/11/28 12:10:17][INFO]                            ^^^^^^^^^^^^^
[2025/11/28 12:10:17][INFO]                            args=(['-bl:%s-restore.binlog' % self.binlog] if self.binlog else []) + restore_args)
[2025/11/28 12:10:17][INFO]                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\scripts\performance\tracer.py", line 97, in wrapped
[2025/11/28 12:10:17][INFO]       return func(*args, **kwargs)
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\scripts\dotnet.py", line 312, in restore
[2025/11/28 12:10:17][INFO]       RunCommand(cmdline, verbose=verbose, retry=1).run(
[2025/11/28 12:10:17][INFO]       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
[2025/11/28 12:10:17][INFO]           self.working_directory)
[2025/11/28 12:10:17][INFO]           ^^^^^^^^^^^^^^^^^^^^^^^
[2025/11/28 12:10:17][INFO]     File "D:\a\1\s\performance\scripts\performance\common.py", line 370, in run
[2025/11/28 12:10:17][INFO]       raise CalledProcessError(
[2025/11/28 12:10:17][INFO]           returncode, quoted_cmdline)
[2025/11/28 12:10:17][INFO]   subprocess.CalledProcessError: Command '$ dotnet restore D:\a\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\mauiandroid\app\MauiAndroidDefault.csproj --packages D:\a\1\s\performance\artifacts\packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 -bl:D:\a\1\s\performance\CorrelationStaging\payload\scenarios_out\mauiandroid\mauiandroid.coreclr_R2R.binlog-restore.binlog /p:EnableWindowsTargeting=true' returned non-zero exit status 1.
[2025/11/28 12:10:17][INFO] D:\a\1\s\performance\eng\performance\PreparePayloadWorkItems.targets(4,5): error MSB3073: The command "py -3 pre.py publish -f net10.0-android -r android-arm64 --self-contained --msbuild="/p:UseMonoRuntime=false;/p:PublishReadyToRun=true;/p:PublishReadyToRunComposite=false" --binlog D:\a\1\s\performance\CorrelationStaging\payload\scenarios_out\mauiandroid\mauiandroid.coreclr_R2R.binlog -o D:\a\1\s\performance\CorrelationStaging\payload\scenarios_out\mauiandroid" exited with code 1. [D:\a\1\s\performance\eng\performance\maui_scenarios_android.proj]
[2025/11/28 12:10:17][ERROR] Process exited with status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions