Skip to content

[tests] Enable back some MemoryLeak tests - #28484

Closed
rmarinho wants to merge 15 commits into
mainfrom
fix-27411
Closed

[tests] Enable back some MemoryLeak tests#28484
rmarinho wants to merge 15 commits into
mainfrom
fix-27411

Conversation

@rmarinho

@rmarinho rmarinho commented Mar 18, 2025

Copy link
Copy Markdown
Member

Description of Change

Enable back comment out memory leak tests that were failing on Android on the net10.0 branch

Issues Fixed

Fixes #27411

@rmarinho rmarinho added area-testing Unit tests, device tests perf/memory-leak 💦 Memory usage grows / objects live forever (sub: perf) testing-reenable labels Mar 18, 2025
@rmarinho rmarinho added this to the .NET 10.0-preview3 milestone Mar 18, 2025
@rmarinho
rmarinho requested a review from a team as a code owner March 18, 2025 18:58
@rmarinho rmarinho moved this from Todo to Ready To Review in MAUI SDK Ongoing Mar 18, 2025
//https://github.com/dotnet/maui/issues/27411
#endif
[InlineData(typeof(TabbedPage))]
public async Task PagesDoNotLeak(Type type)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is failing on Android Api Level 23:
image

Reference to Microsoft.Maui.Controls.NavigationPage (type Microsoft.Maui.Controls.NavigationPage is still alive.\nReference to androidx.fragment.app.FragmentContainerView{38d3432 V.E...... ......ID 0,0-1080,1773 #7f080142 app:id/nav_host} (type AndroidX.Fragment.App.FragmentContainerView is still alive.\n\n---- Assertion timed out

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works on newer emulators, you might just skip this test on API 23. It probably isn't a leak. There is at least one example of that in here somewhere.

@github-project-automation github-project-automation Bot moved this from Ready To Review to Changes Requested in MAUI SDK Ongoing Mar 19, 2025
@rmarinho rmarinho linked an issue Mar 19, 2025 that may be closed by this pull request
@rmarinho

Copy link
Copy Markdown
Member Author

/rebase

@rmarinho

Copy link
Copy Markdown
Member Author

/rebase

if (m == 1)
{
GC.Collect();
GC.Collect(2);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the 2 do?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the number of "generations".

If making a higher number makes the test pass, this change is fine. 👍

But I would say we should move it to a single test utility method for all the tests to share.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But, GC.Collect() should work better, because it will run on all generations. with 2 it will go from gen0 to gen2

@jonathanpeppers jonathanpeppers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make a TestUtilities.cs that all the tests share? Then for now a single method like:

public static async Task WaitForGC ()
{
	await Task.Yield();
	GC.Collect(2);
	GC.WaitForPendingFinalizers();
}

Then if you wanted to change the number 2 later (or other logic), it could be updated in one place.

Comment on lines 629 to 631
await Task.Yield();
GC.Collect();
GC.Collect(2);
GC.WaitForPendingFinalizers();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there are many permutations of code like this littered thoughout the tests.

Can we make a single TestUtilities.cs file we can share between all the test projects? You shouldn't have to update so many files to introduce the number 2.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pictos pictos Jan 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good approach to call GC.Collect() after GC.WaitForPendingFinalizers(); so the objects that had a finalizer will be collected.

Just a heads up, objects that have a Finalizer will need 2 collections to get collected, the first one it will be promoted to the next generation and will be referenced by the finalizer_queue until its Finalizer runs, then a second collection will collect those objects

Resolve conflicts in:
- src/Core/src/Handlers/FlyoutView/FlyoutViewHandler.Android.cs
  (combine main's previousDetail != VirtualView.Detail guard with the PR's
   oldFragment GC refactor)
- src/Controls/tests/DeviceTests/Memory/MemoryTests.cs
  (keep main's descriptive #27411/#33918 comment; both sides enable the
   NavigationPage memory-leak test on Android)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 28484

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 28484"

@kubaflo

kubaflo commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

/azp run

@kubaflo

This comment has been minimized.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Review — 4 findings

See inline comments for details.

@@ -1,4 +1,4 @@
using System;
susing System;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[critical] Build & MSBuild — This typo changes using System; to susing System;, which is a C# syntax error and prevents the Controls/XAML projects from compiling.

{
foreach (var child in layout)
{
child.Handler?.DisconnectHandler();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Handler Mapper and Property Patterns — Directly disconnecting child handlers here bypasses HandlerDisconnectPolicy.Manual, which IView.DisconnectHandlers() explicitly honors. Concrete scenario: a child layout/control sets HandlerProperties.DisconnectPolicy=Manual to keep its handler alive across parent teardown; disconnecting the parent Android LayoutHandler now still nulls that child handler. Please route child cleanup through the existing DisconnectHandlers() policy logic or check IHandlerDisconnectPolicies before calling DisconnectHandler() (and apply the same guard to the other direct child disconnects added in this PR).

// Use commitNowAllowingStateLoss to execute synchronously.
// This prevents crashes when the handler is disconnected between
// commit and execution, as the transaction runs immediately.
.CommitNowAllowingStateLoss();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Android Platform SpecificsRunOrWaitForResume can invoke this callback from a FragmentManager lifecycle callback after state was saved; switching the deferred transaction from Commit() to CommitNowAllowingStateLoss() makes the transaction execute synchronously/re-entrantly and can throw IllegalStateException (not caught here) or run while the manager is dispatching lifecycle events. A rotation/background-resume while replacing FlyoutPage.Detail can therefore crash instead of safely posting the replacement. Keep the deferred path asynchronous (Commit) and rely on disposing _pendingFragment during disconnect, or catch/retry after resume rather than committing synchronously inside the callback.

.SetReorderingAllowed(true)
// Use CommitNowAllowingStateLoss to execute synchronously even if state is saved.
// This is critical for proper lifecycle events when swapping root pages.
.CommitNowAllowingStateLoss();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Android Platform Specifics — This replaces the previous RunOrWaitForResume(... Commit()) path with an immediate CommitNowAllowingStateLoss() and then swallows IllegalStateException. If the window root changes while FragmentManager state is saved or another transaction is executing (rotation/background/Shell swap), the catch leaves _viewFragment assigned but not attached and never retries, so the root content can stay blank and RootViewChanged is not raised. Preserve the deferred RunOrWaitForResume transaction for normal root replacement and reserve synchronous removal for the disconnect path when the manager is known to be safe.

@MauiBot MauiBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review Summary

@rmarinho — new AI review results are available based on this last commit: 64e3ad7. To request a fresh review after new comments or commits, comment /review rerun.

Gate Inconclusive Confidence Low Platform Android


🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix

Gate Result: ⚠️ INCONCLUSIVE

Platform: ANDROID · Base: main · Merge base: 1096d871

🩺 Fix does not compile — applying the PR's fix produces a build error before tests can run. The earlier-than-test failure is the root cause; the per-test ❌ FAIL marks are downstream effects, not real test failures.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...

Test Without Fix (expect FAIL) With Fix (expect PASS)
📱 ImageSourceServiceTests ImageSourceServiceTests ✅ FAIL — 1587s 🛠️ BUILD ERROR
📱 NavigationPageTests NavigationPageTests ❌ PASS — 1117s 🛠️ BUILD ERROR
🖥️ Bugzilla40955 Bugzilla40955 ❌ PASS — 610s 🛠️ BUILD ERROR
🖥️ Bugzilla42329 Bugzilla42329 ❌ PASS — 564s 🛠️ BUILD ERROR
🖥️ Bugzilla44166 Bugzilla44166 ✅ FAIL — 571s 🛠️ BUILD ERROR
🖥️ Issue5555 Issue5555 ❌ PASS — 565s 🛠️ BUILD ERROR
🧪 BorderTests BorderTests ❌ PASS — 20s ✅ PASS — 74s
🧪 CollectionViewTests CollectionViewTests ✅ FAIL — 36s 🛠️ BUILD ERROR
🧪 TestHelpers TestHelpers ❌ PASS — 18s 🛠️ BUILD ERROR
📄 Maui22036 Maui22036 ❌ PASS — 86s 🛠️ BUILD ERROR
🔴 Without fix — 📱 ImageSourceServiceTests: FAIL ✅ · 1587s

(truncated to last 15,000 chars)

dll -> System.Runtime.InteropServices.dll.so
  [107/128] System.Runtime.InteropServices.RuntimeInformation.dll -> System.Runtime.InteropServices.RuntimeInformation.dll.so
  [108/128] System.Runtime.Loader.dll -> System.Runtime.Loader.dll.so
  [42/128] Xamarin.AndroidX.Lifecycle.Common.Jvm.dll -> Xamarin.AndroidX.Lifecycle.Common.Jvm.dll.so
  [109/128] System.Runtime.Numerics.dll -> System.Runtime.Numerics.dll.so
  [110/128] System.Runtime.dll -> System.Runtime.dll.so
  [43/128] Xamarin.AndroidX.Lifecycle.LiveData.Core.dll -> Xamarin.AndroidX.Lifecycle.LiveData.Core.dll.so
  [111/128] System.Security.Cryptography.dll -> System.Security.Cryptography.dll.so
  [112/128] System.Text.Encoding.dll -> System.Text.Encoding.dll.so
  [44/128] Xamarin.AndroidX.Lifecycle.ViewModel.Android.dll -> Xamarin.AndroidX.Lifecycle.ViewModel.Android.dll.so
  [113/128] System.Text.Encodings.Web.dll -> System.Text.Encodings.Web.dll.so
  [45/128] Xamarin.AndroidX.Lifecycle.ViewModelSavedState.Android.dll -> Xamarin.AndroidX.Lifecycle.ViewModelSavedState.Android.dll.so
  [46/128] Xamarin.AndroidX.Loader.dll -> Xamarin.AndroidX.Loader.dll.so
  [47/128] Xamarin.AndroidX.Navigation.Common.Android.dll -> Xamarin.AndroidX.Navigation.Common.Android.dll.so
  [114/128] System.Text.RegularExpressions.dll -> System.Text.RegularExpressions.dll.so
  [48/128] Xamarin.AndroidX.Navigation.Fragment.dll -> Xamarin.AndroidX.Navigation.Fragment.dll.so
  [115/128] System.Threading.Tasks.dll -> System.Threading.Tasks.dll.so
  [49/128] Xamarin.AndroidX.Navigation.Runtime.Android.dll -> Xamarin.AndroidX.Navigation.Runtime.Android.dll.so
  [116/128] System.Threading.Thread.dll -> System.Threading.Thread.dll.so
  [117/128] System.Text.Json.dll -> System.Text.Json.dll.so
  [50/128] Xamarin.AndroidX.Navigation.UI.dll -> Xamarin.AndroidX.Navigation.UI.dll.so
  [118/128] System.Threading.ThreadPool.dll -> System.Threading.ThreadPool.dll.so
  [119/128] System.Threading.dll -> System.Threading.dll.so
  [120/128] System.Xml.Linq.dll -> System.Xml.Linq.dll.so
  [121/128] System.Xml.ReaderWriter.dll -> System.Xml.ReaderWriter.dll.so
  [51/128] Xamarin.AndroidX.RecyclerView.dll -> Xamarin.AndroidX.RecyclerView.dll.so
  [122/128] System.Xml.XDocument.dll -> System.Xml.XDocument.dll.so
  [123/128] System.dll -> System.dll.so
  [52/128] Xamarin.AndroidX.SavedState.SavedState.Android.dll -> Xamarin.AndroidX.SavedState.SavedState.Android.dll.so
  [124/128] netstandard.dll -> netstandard.dll.so
  [125/128] Mono.Android.Runtime.dll -> Mono.Android.Runtime.dll.so
  [53/128] Xamarin.AndroidX.SwipeRefreshLayout.dll -> Xamarin.AndroidX.SwipeRefreshLayout.dll.so
  [126/128] Java.Interop.dll -> Java.Interop.dll.so
  [54/128] Xamarin.AndroidX.ViewPager.dll -> Xamarin.AndroidX.ViewPager.dll.so
  [55/128] Xamarin.AndroidX.ViewPager2.dll -> Xamarin.AndroidX.ViewPager2.dll.so
  [56/128] Xamarin.Google.Android.Material.dll -> Xamarin.Google.Android.Material.dll.so
  [57/128] Xamarin.Kotlin.StdLib.dll -> Xamarin.Kotlin.StdLib.dll.so
  [58/128] Xamarin.KotlinX.Coroutines.Core.Jvm.dll -> Xamarin.KotlinX.Coroutines.Core.Jvm.dll.so
  [127/128] Mono.Android.dll -> Mono.Android.dll.so
  [59/128] Xamarin.KotlinX.Serialization.Core.Jvm.dll -> Xamarin.KotlinX.Serialization.Core.Jvm.dll.so
  [60/128] xunit.abstractions.dll -> xunit.abstractions.dll.so
  [61/128] xunit.assert.dll -> xunit.assert.dll.so
  [62/128] xunit.core.dll -> xunit.core.dll.so
  [63/128] xunit.execution.dotnet.dll -> xunit.execution.dotnet.dll.so
  [64/128] xunit.runner.utility.netcoreapp10.dll -> xunit.runner.utility.netcoreapp10.dll.so
  [65/128] System.Collections.Concurrent.dll -> System.Collections.Concurrent.dll.so
  [66/128] System.Collections.Immutable.dll -> System.Collections.Immutable.dll.so
  [67/128] System.Collections.NonGeneric.dll -> System.Collections.NonGeneric.dll.so
  [68/128] System.Collections.Specialized.dll -> System.Collections.Specialized.dll.so
  [69/128] System.Collections.dll -> System.Collections.dll.so
  [70/128] System.ComponentModel.Primitives.dll -> System.ComponentModel.Primitives.dll.so
  [128/128] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.so
  [71/128] System.ComponentModel.TypeConverter.dll -> System.ComponentModel.TypeConverter.dll.so
  [72/128] System.ComponentModel.dll -> System.ComponentModel.dll.so
  [73/128] System.Console.dll -> System.Console.dll.so
  [74/128] System.Diagnostics.Debug.dll -> System.Diagnostics.Debug.dll.so
  [75/128] System.Diagnostics.DiagnosticSource.dll -> System.Diagnostics.DiagnosticSource.dll.so
  [76/128] System.Diagnostics.Process.dll -> System.Diagnostics.Process.dll.so
  [77/128] System.Diagnostics.Tools.dll -> System.Diagnostics.Tools.dll.so
  [78/128] System.Diagnostics.TraceSource.dll -> System.Diagnostics.TraceSource.dll.so
  [79/128] System.Diagnostics.Tracing.dll -> System.Diagnostics.Tracing.dll.so
  [80/128] System.Drawing.Primitives.dll -> System.Drawing.Primitives.dll.so
  [81/128] System.Drawing.dll -> System.Drawing.dll.so
  [82/128] System.Formats.Asn1.dll -> System.Formats.Asn1.dll.so
  [83/128] System.Globalization.dll -> System.Globalization.dll.so
  [84/128] System.IO.Compression.Brotli.dll -> System.IO.Compression.Brotli.dll.so
  [85/128] System.IO.Compression.dll -> System.IO.Compression.dll.so
  [86/128] System.IO.FileSystem.dll -> System.IO.FileSystem.dll.so
  [87/128] System.IO.Pipelines.dll -> System.IO.Pipelines.dll.so
  [88/128] System.IO.dll -> System.IO.dll.so
  [89/128] System.Linq.Expressions.dll -> System.Linq.Expressions.dll.so
  [90/128] System.Linq.dll -> System.Linq.dll.so
  [91/128] System.Memory.dll -> System.Memory.dll.so
  [92/128] System.Net.Http.dll -> System.Net.Http.dll.so
  [93/128] System.Net.NameResolution.dll -> System.Net.NameResolution.dll.so
  [94/128] System.Net.Primitives.dll -> System.Net.Primitives.dll.so
  [95/128] System.Net.Requests.dll -> System.Net.Requests.dll.so
  [96/128] System.Net.Sockets.dll -> System.Net.Sockets.dll.so
  [97/128] System.Numerics.Vectors.dll -> System.Numerics.Vectors.dll.so
  [98/128] System.ObjectModel.dll -> System.ObjectModel.dll.so
  [99/128] System.Private.Uri.dll -> System.Private.Uri.dll.so
  [100/128] System.Private.Xml.Linq.dll -> System.Private.Xml.Linq.dll.so
  [101/128] System.Private.Xml.dll -> System.Private.Xml.dll.so
  [102/128] System.Reflection.Extensions.dll -> System.Reflection.Extensions.dll.so
  [103/128] System.Reflection.TypeExtensions.dll -> System.Reflection.TypeExtensions.dll.so
  [104/128] System.Reflection.dll -> System.Reflection.dll.so
  [105/128] System.Runtime.Extensions.dll -> System.Runtime.Extensions.dll.so
  [106/128] System.Runtime.InteropServices.RuntimeInformation.dll -> System.Runtime.InteropServices.RuntimeInformation.dll.so
  [107/128] System.Runtime.InteropServices.dll -> System.Runtime.InteropServices.dll.so
  [108/128] System.Runtime.Loader.dll -> System.Runtime.Loader.dll.so
  [109/128] System.Runtime.Numerics.dll -> System.Runtime.Numerics.dll.so
  [110/128] System.Runtime.dll -> System.Runtime.dll.so
  [111/128] System.Security.Cryptography.dll -> System.Security.Cryptography.dll.so
  [112/128] System.Text.Encoding.dll -> System.Text.Encoding.dll.so
  [113/128] System.Text.Encodings.Web.dll -> System.Text.Encodings.Web.dll.so
  [114/128] System.Text.Json.dll -> System.Text.Json.dll.so
  [115/128] System.Text.RegularExpressions.dll -> System.Text.RegularExpressions.dll.so
  [116/128] System.Threading.Tasks.dll -> System.Threading.Tasks.dll.so
  [117/128] System.Threading.Thread.dll -> System.Threading.Thread.dll.so
  [118/128] System.Threading.ThreadPool.dll -> System.Threading.ThreadPool.dll.so
  [119/128] System.Threading.dll -> System.Threading.dll.so
  [120/128] System.Xml.Linq.dll -> System.Xml.Linq.dll.so
  [121/128] System.Xml.ReaderWriter.dll -> System.Xml.ReaderWriter.dll.so
  [122/128] System.Xml.XDocument.dll -> System.Xml.XDocument.dll.so
  [123/128] System.dll -> System.dll.so
  [124/128] netstandard.dll -> netstandard.dll.so
  [125/128] Java.Interop.dll -> Java.Interop.dll.so
  [126/128] Mono.Android.Runtime.dll -> Mono.Android.Runtime.dll.so
  [127/128] Mono.Android.dll -> Mono.Android.dll.so
  [128/128] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.so

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:10:46.55
[11.0.0-prerelease.26230.4+92962e5c46ac08a66ded4c5696209cc60f1a232f] XHarness command issued: android test --app /home/vsts/work/1/s/artifacts/bin/Core.DeviceTests/Release/net10.0-android/com.microsoft.maui.core.devicetests-Signed.apk --package-name com.microsoft.maui.core.devicetests --device-id emulator-5554 -o artifacts/log --timeout 01:00:00 -v --arg TestFilter=ImageSourceServiceTests
�[40m�[37mdbug�[39m�[22m�[49m: ADBRunner using ADB.exe supplied from /home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/tools/net10.0/any/../../../runtimes/any/native/adb/linux/adb
�[40m�[37mdbug�[39m�[22m�[49m: Full resolved path:'/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb'
�[40m�[32minfo�[39m�[22m�[49m: Will attempt to find device supporting architectures: 'arm64-v8a', 'x86_64'
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb start-server'
�[40m�[37mdbug�[39m�[22m�[49m: 
�[40m�[32minfo�[39m�[22m�[49m: Finding attached devices/emulators...
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb devices -l'
�[40m�[37mdbug�[39m�[22m�[49m: Found 1 possible devices
�[40m�[37mdbug�[39m�[22m�[49m: Evaluating output line for device serial: emulator-5554          device product:sdk_gphone_x86_64 model:sdk_gphone_x86_64 device:generic_x86_64_arm64 transport_id:2
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 shell getprop ro.product.cpu.abilist'
�[40m�[37mdbug�[39m�[22m�[49m: Found 1 possible devices. Using 'emulator-5554'
�[40m�[32minfo�[39m�[22m�[49m: Active Android device set to serial 'emulator-5554'
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 -s emulator-5554 shell getprop ro.product.cpu.abi'
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 -s emulator-5554 shell getprop ro.build.version.sdk'
�[40m�[32minfo�[39m�[22m�[49m: Waiting for device to be available (max 5 minutes)
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 wait-for-device'
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 -s emulator-5554 shell getprop sys.boot_completed'
�[40m�[37mdbug�[39m�[22m�[49m: sys.boot_completed = '1'
�[40m�[37mdbug�[39m�[22m�[49m: Waited 0 seconds for device boot completion
�[40m�[37mdbug�[39m�[22m�[49m: Working with emulator-5554 (API 30)
�[40m�[37mdbug�[39m�[22m�[49m: Check current adb install and/or package verification settings
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 shell settings get global verifier_verify_adb_installs'
�[40m�[37mdbug�[39m�[22m�[49m: verifier_verify_adb_installs = 0
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 shell settings get global package_verifier_enable'
�[40m�[37mdbug�[39m�[22m�[49m: package_verifier_enable = 
�[40m�[1m�[33mwarn�[39m�[22m�[49m: Installing debug apks on a device might be rejected with INSTALL_FAILED_VERIFICATION_FAILURE. Make sure to set 'package_verifier_enable' to '0'
�[40m�[32minfo�[39m�[22m�[49m: Attempting to remove apk 'com.microsoft.maui.core.devicetests'..
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 uninstall com.microsoft.maui.core.devicetests'
�[41m�[30mfail�[39m�[22m�[49m: Waiting for command timed out: execution may be compromised
�[41m�[30mfail�[39m�[22m�[49m: Error: Exit code: -2
      Std out:
      
      
      
�[40m�[32minfo�[39m�[22m�[49m: Attempting to install /home/vsts/work/1/s/artifacts/bin/Core.DeviceTests/Release/net10.0-android/com.microsoft.maui.core.devicetests-Signed.apk
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 install /home/vsts/work/1/s/artifacts/bin/Core.DeviceTests/Release/net10.0-android/com.microsoft.maui.core.devicetests-Signed.apk'
�[41m�[30mfail�[39m�[22m�[49m: Error:
      Exit code: 1
      Std out:
      Serving...
      Performing Incremental Install
      cmd: Failure calling service package: Broken pipe (32)
      Performing Streamed Install
      
      
      Std err:
      All files should be loaded. Notifying the device.
      adb: failed to install /home/vsts/work/1/s/artifacts/bin/Core.DeviceTests/Release/net10.0-android/com.microsoft.maui.core.devicetests-Signed.apk: cmd: Can't find service: package
      
      
      
�[41m�[1m�[37mcrit�[39m�[22m�[49m: Install failure: Test command cannot continue
�[40m�[32minfo�[39m�[22m�[49m: Attempting to remove apk 'com.microsoft.maui.core.devicetests'..
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 uninstall com.microsoft.maui.core.devicetests'
�[41m�[30mfail�[39m�[22m�[49m: Error: Exit code: 20
      Std out:
      
      
      Std err:
      cmd: Can't find service: package
      
      
      
�[40m�[32minfo�[39m�[22m�[49m: Attempting to remove apk 'com.microsoft.maui.core.devicetests'..
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 uninstall com.microsoft.maui.core.devicetests'
�[41m�[30mfail�[39m�[22m�[49m: Error: Exit code: 20
      Std out:
      
      
      Std err:
      cmd: Can't find service: package
      
      
      
XHarness exit code: 78 (PACKAGE_INSTALLATION_FAILURE)
  Tests completed with exit code: 78

🟢 With fix — 📱 ImageSourceServiceTests: 🛠️ BUILD ERROR · 101s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Essentials/src/Essentials.csproj (in 480 ms).
  Restored /home/vsts/work/1/s/src/Graphics/src/Graphics/Graphics.csproj (in 484 ms).
  Restored /home/vsts/work/1/s/src/Core/src/Core.csproj (in 182 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj (in 214 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/Core/Controls.Core.csproj (in 30 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/BindingSourceGen/Controls.BindingSourceGen.csproj (in 17 ms).
  5 of 11 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Release/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Release/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Release/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Release/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  TestUtils.DeviceTests -> /home/vsts/work/1/s/artifacts/bin/TestUtils.DeviceTests/Release/net10.0-android/Microsoft.Maui.TestUtils.DeviceTests.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Release/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:01:35.96

🔴 Without fix — 📱 NavigationPageTests: PASS ❌ · 1117s

(truncated to last 15,000 chars)

otSegments_DoNotResolveAboveRoot
      06-25 17:08:19.116  8434 12077 I DOTNET  : 	[PASS] DotDotSegments_DoNotResolveAboveRoot
      06-25 17:08:19.116  8434 12077 I DOTNET  : Microsoft.Maui.DeviceTests.HybridWebViewTests_ContentRootResolution 8.3127150 ms
      06-25 17:08:19.116  8434 12077 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.ButtonTests
      06-25 17:08:19.142  8434 12077 I DOTNET  : 	[PASS] ScaleConsistent
      06-25 17:08:19.154  8434 12077 I DOTNET  : 	[PASS] RotationXConsistent
      06-25 17:08:19.165  8434 12077 I DOTNET  : 	[PASS] RotationYConsistent
      06-25 17:08:19.178  8434 12077 I DOTNET  : 	[PASS] VerifyButtonIsVisibleProperty
      06-25 17:08:19.520  8434 12082 I DOTNET  : 	[PASS] Button Icon has Correct Position
      06-25 17:08:19.931  8434 12087 I DOTNET  : 	[PASS] Button Icon has Correct Position
      06-25 17:08:20.115  8434 12092 I DOTNET  : 	[PASS] Button Icon has Correct Position
      06-25 17:08:20.343  8434 12097 I DOTNET  : 	[PASS] Button Icon has Correct Position
      06-25 17:08:20.390  8434 12097 I DOTNET  : 	[PASS] InitialTextTransformApplied
      06-25 17:08:20.420  8434 12097 I DOTNET  : 	[PASS] InitialTextTransformApplied
      06-25 17:08:20.434  8434 12097 I DOTNET  : 	[PASS] TextTransformUpdated
      06-25 17:08:20.460  8434 12097 I DOTNET  : 	[PASS] TextTransformUpdated
      06-25 17:08:20.474  8434 12097 I DOTNET  : 	[PASS] ScaleXConsistent
      06-25 17:08:20.610  8434 12102 I DOTNET  : 	[PASS] ButtonBackgroundColorConsistent
      06-25 17:08:20.650  8434 12102 I DOTNET  : 	[PASS] RotationConsistent
      06-25 17:08:20.668  8434 12102 I DOTNET  : 	[PASS] LineBreakMode Initializes Correctly
      06-25 17:08:20.726  8434 12102 I DOTNET  : 	[PASS] LineBreakMode Initializes Correctly
      06-25 17:08:20.738  8434 12102 I DOTNET  : 	[PASS] ButtonTranslationConsistent
      06-25 17:08:20.750  8434 12102 I DOTNET  : 	[PASS] ScaleYConsistent
      06-25 17:08:20.763  8434 12102 I DOTNET  : 	[PASS] VerifyButtonOpacityProperty
      06-25 17:08:20.779  8434 12102 I DOTNET  : 	[PASS] ButtonRippleColorPlatformSpecific
      06-25 17:08:20.779  8434 12102 I DOTNET  : Microsoft.Maui.DeviceTests.ButtonTests 1.6326329 ms
      06-25 17:08:20.779  8434 12102 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.PickerTests
      06-25 17:08:20.908  8434 12107 I DOTNET  : 	[PASS] PickerBackgroundColorConsistent
      06-25 17:08:20.917  8434 12107 I DOTNET  : 	[PASS] ItemsUpdateWithCollectionChanges
      06-25 17:08:20.944  8434 12107 I DOTNET  : 	[PASS] RotationYConsistent
      06-25 17:08:20.952  8434 12107 I DOTNET  : 	[PASS] ScaleConsistent
      06-25 17:08:20.959  8434 12107 I DOTNET  : 	[PASS] VerifyPickerOpacityProperty
      06-25 17:08:20.963  8434 12107 I DOTNET  : 	[PASS] ScaleYConsistent
      06-25 17:08:20.965  8434 12107 I DOTNET  : 	[PASS] ScaleXConsistent
      06-25 17:08:20.968  8434 12107 I DOTNET  : 	[PASS] RotationXConsistent
      06-25 17:08:20.972  8434 12107 I DOTNET  : 	[PASS] ItemsUpdateWithNewItemSource
      06-25 17:08:21.032  8434 12107 I DOTNET  : 	[PASS] RotationConsistent
      06-25 17:08:21.032  8434 12107 I DOTNET  : Microsoft.Maui.DeviceTests.PickerTests 0.1898440 ms
      06-25 17:08:21.032  8434 12107 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.LayoutTests
      06-25 17:08:21.046  8434 12107 I DOTNET  : 	[PASS] InputTransparentCorrectlyAppliedToPlatformView
      06-25 17:08:21.057  8434 12107 I DOTNET  : 	[PASS] InputTransparentCorrectlyAppliedToPlatformView
      06-25 17:08:21.174  8434 12113 I DOTNET  : 	[PASS] FlexLayoutInHorizontalStackLayoutDoesNotCycle
      06-25 17:08:21.475  8434 12119 I DOTNET  : 	[PASS] DependentLayoutBindingsResolve
      06-25 17:08:21.498  8434 12119 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnAdd
      06-25 17:08:21.543  8434 12119 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnAdd
      06-25 17:08:21.649  8434 12125 I DOTNET  : 	[PASS] FlexLayoutInVerticalStackLayoutDoesNotCycle
      06-25 17:08:21.700  8434 12131 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnInit
      06-25 17:08:21.740  8434 12131 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnInit
      06-25 17:08:21.864  8434 12136 I DOTNET  : 	[PASS] SizeRequestIsClampedToMinimumAndMaximum
      06-25 17:08:21.864  8434 12136 I DOTNET  : 	[IGNORED] UpdatingLayoutOptionsTriggersParentToRepositionControl
      06-25 17:08:21.916  8434 12142 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnInsert
      06-25 17:08:21.960  8434 12142 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnInsert
      06-25 17:08:21.960  8434 12142 I DOTNET  : 	[IGNORED] GridCellsHonorMaxHeight
      06-25 17:08:21.973  8434 12142 I DOTNET  : 	[PASS] InputTransparentUpdatesCorrectlyOnPlatformView
      06-25 17:08:21.984  8434 12142 I DOTNET  : 	[PASS] InputTransparentUpdatesCorrectlyOnPlatformView
      06-25 17:08:22.090  8434 12147 I DOTNET  : 	[PASS] GridCellsHonorMaxWidth
      06-25 17:08:22.162  8434 12153 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnUpdate
      06-25 17:08:22.187  8434 12153 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnUpdate
      06-25 17:08:22.212  8434 12159 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnUpdate
      06-25 17:08:22.314  8434 12159 I DOTNET  : 	[PASS] CascadeInputTransparentAppliesOnUpdate
      06-25 17:08:22.618  8434 12165 I DOTNET  : 	[PASS] ButtonWithImageInFlexLayoutInGridDoesNotCycle
      06-25 17:08:22.749  8434 12170 I DOTNET  : 	[PASS] GridAddAndRemoveChildrenViaIndex
      06-25 17:08:22.988  8434 12175 I DOTNET  : 	[PASS] MinimumSizeRequestsCanBeCleared
      06-25 17:08:22.988  8434 12175 I DOTNET  : Microsoft.Maui.DeviceTests.LayoutTests 1.8648855 ms
      06-25 17:08:22.988  8434 12175 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.HybridWebViewTests_SendRawMessage
      06-25 17:08:24.920  8434 12182 I DOTNET  : 	[PASS] LoadsHtmlAndSendReceiveRawMessage
      06-25 17:08:24.920  8434 12182 I DOTNET  : Microsoft.Maui.DeviceTests.HybridWebViewTests_SendRawMessage 1.931013 ms
      06-25 17:08:24.920  8434 12182 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.LabelTests
      06-25 17:08:24.943  8434 12182 I DOTNET  : 	[PASS] FormattedStringSpanTextTransformOverridesLabelTextTransform
      06-25 17:08:25.070  8434 12187 I DOTNET  : 	[PASS] FontStuffAfterTextTypeIsCorrect
      06-25 17:08:25.073  8434 12187 I DOTNET  : 	[PASS] VerifyLabelIsVisibleProperty
      06-25 17:08:25.080  8434 12187 I DOTNET  : 	[PASS] Html Text Initializes Correctly
      06-25 17:08:25.082  8434 12187 I DOTNET  : 	[PASS] Negative MaxLines value with wrap is correct
      06-25 17:08:25.219  8434 12192 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.338  8434 12197 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.463  8434 12202 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.595  8434 12207 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.716  8434 12212 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.829  8434 12217 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:25.956  8434 12222 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.065  8434 12227 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.178  8434 12232 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.297  8434 12237 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.417  8434 12242 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.641  8434 12247 I DOTNET  : 	[PASS] LabelTruncatesCorrectly
      06-25 17:08:26.663  8434 12253 I DOTNET  : 	[PASS] VerifyLabelOpacityProperty
      06-25 17:08:26.770  8434 12258 I DOTNET  : 	[PASS] FontStuffAppliesEvenInHtmlMode
      06-25 17:08:26.772  8434 12258 I DOTNET  : 	[PASS] LabelTranslationConsistent
      06-25 17:08:26.774  8434 12258 I DOTNET  : 	[PASS] TextTransformUpdated
      06-25 17:08:26.777  8434 12258 I DOTNET  : 	[PASS] TextTransformUpdated
      06-25 17:08:26.779  8434 12258 I DOTNET  : 	[PASS] ScaleXConsistent
      06-25 17:08:26.781  8434 12258 I DOTNET  : 	[PASS] TextColorAppliesEvenInHtmlMode
      06-25 17:08:26.781  8434 12258 I DOTNET  : 	[PASS] Vertical text aligned when RTL is not supported
      06-25 17:08:26.783  8434 12258 I DOTNET  : 	[PASS] Using TailTruncation LineBreakMode with 2 MaxLines
      06-25 17:08:26.784  8434 12258 I DOTNET  : 	[PASS] LineBreakMode TailTruncation does not affect MaxLines
      06-25 17:08:26.785  8434 12258 I DOTNET  : 	[PASS] Horizontal text aligned when RTL is not supported
      06-25 17:08:27.173  8434 12263 I DOTNET  : 	[PASS] UpdatingFormattedTextResultsInTheSameLayout
      06-25 17:08:27.554  8434 12268 I DOTNET  : 	[PASS] UpdatingFormattedTextResultsInTheSameLayout
      06-25 17:08:27.960  8434 12273 I DOTNET  : 	[PASS] UpdatingFormattedTextResultsInTheSameLayout
      06-25 17:08:28.508  8434 12278 I DOTNET  : 	[PASS] FormattedStringSpanTextHasCorrectColorWhenChangedAfterCreation
      06-25 17:08:28.743  8434 12283 I DOTNET  : 	[PASS] FormattedStringSpanTextHasCorrectColorWhenChanges
      06-25 17:08:28.746  8434 12283 I DOTNET  : 	[PASS] LineBreakMode does not affect MaxLines
      06-25 17:08:28.748  8434 12283 I DOTNET  : 	[PASS] RotationConsistent
      06-25 17:08:29.106  8434 12288 I DOTNET  : 	[PASS] FormattedStringSpanTextHasCorrectLayoutWhenAligned
      06-25 17:08:29.457  8434 12293 I DOTNET  : 	[PASS] FormattedStringSpanTextHasCorrectLayoutWhenAligned
      06-25 17:08:29.858  8434 12298 I DOTNET  : 	[PASS] FormattedStringSpanTextHasCorrectLayoutWhenAligned
      06-25 17:08:29.861  8434 12298 I DOTNET  : 	[PASS] MaxLines Initializes Correctly
      06-25 17:08:29.863  8434 12298 I DOTNET  : 	[PASS] RotationXConsistent
      06-25 17:08:29.865  8434 12298 I DOTNET  : 	[PASS] LineBreakMode Initializes Correctly
      06-25 17:08:29.867  8434 12298 I DOTNET  : 	[PASS] InitialTextTransformApplied
      06-25 17:08:29.878  8434 12298 I DOTNET  : 	[PASS] InitialTextTransformApplied
      06-25 17:08:29.882  8434 12298 I DOTNET  : 	[PASS] RotationYConsistent
      06-25 17:08:29.886  8434 12298 I DOTNET  : 	[PASS] Single LineBreakMode changes MaxLines
      06-25 17:08:29.890  8434 12298 I DOTNET  : 	[PASS] VerifyLabelIsEnabledProperty
      06-25 17:08:29.891  8434 12298 I DOTNET  : 	[IGNORED] InitialFormattedTextMatchesText
      06-25 17:08:29.896  8434 12298 I DOTNET  : 	[PASS] TextTypeAfterFontStuffIsCorrect
      06-25 17:08:29.898  8434 12298 I DOTNET  : 	[PASS] ScaleYConsistent
      06-25 17:08:29.900  8434 12298 I DOTNET  : 	[PASS] ScaleConsistent
      06-25 17:08:32.209  8434 12303 I DOTNET  : 	[PASS] ChangingTextTypeWithFormattedTextSwitchesTextSource
      06-25 17:08:32.225  8434 12309 I DOTNET  : 	[PASS] FormattedStringSpanTextTransformApplied
      06-25 17:08:32.229  8434 12309 I DOTNET  : 	[PASS] FormattedStringSpanTextTransformApplied
      06-25 17:08:32.340  8434 12314 I DOTNET  : 	[PASS] LabelBackgroundColorConsistent
      06-25 17:08:36.134  8434 12325 I DOTNET  : 	[PASS] Does Not Leak
      06-25 17:08:36.137  8434 12325 I DOTNET  : 	[PASS] Unsetting single LineBreakMode resets MaxLines
      06-25 17:08:36.138  8434 12325 I DOTNET  : 	[PASS] Unsetting single LineBreakMode resets MaxLines
      06-25 17:08:36.138  8434 12325 I DOTNET  : Microsoft.Maui.DeviceTests.LabelTests 11.0899168 ms
      06-25 17:08:36.138  8434 12325 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.HybridWebViewTests_Initialization
      06-25 17:08:36.775  8434 12331 I DOTNET  : 	[PASS] CanSetUserAgentUsingProperties
      06-25 17:08:37.466  8434 12337 I DOTNET  : 	[PASS] CanSetUserAgentUsingInitializingEvent
      06-25 17:08:38.159  8434 12344 I DOTNET  : 	[PASS] InitializedEventIsRaised
      06-25 17:08:38.850  8434 12351 I DOTNET  : 	[PASS] InitializingEventIsRaised
      06-25 17:08:39.532  8434 12358 I DOTNET  : 	[PASS] InitializingEventIsRaisedAndPropertiesSetAreApplied
      06-25 17:08:39.532  8434 12358 I DOTNET  : Microsoft.Maui.DeviceTests.HybridWebViewTests_Initialization 3.3911808 ms
      06-25 17:08:39.532  8434 12358 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.FormattedStringTests
      06-25 17:08:39.580  8434 12364 I DOTNET  : 	[PASS] NativeFormattedStringContainsSpan
      06-25 17:08:39.580  8434 12364 I DOTNET  : Microsoft.Maui.DeviceTests.FormattedStringTests 0.0469592 ms
      06-25 17:08:39.580  8434 12364 I DOTNET  : Test collection for Microsoft.Maui.DeviceTests.RefreshViewTests
      06-25 17:08:39.709  8434 12370 I DOTNET  : 	[PASS] Setting the content of RefreshView removes previous platform view from visual tree
      06-25 17:08:39.709  8434 12370 I DOTNET  : 	[PASS] IsRefreshEnabled can be set to false
      06-25 17:08:39.710  8434 12370 I DOTNET  : 	[PASS] Setting IsRefreshEnabled to false while refreshing stops refresh
      06-25 17:08:39.711  8434 12370 I DOTNET  : 	[PASS] IsRefreshEnabled defaults to true
      06-25 17:08:39.711  8434 12370 I DOTNET  : 	[PASS] IsEnabled prevents IsRefreshing from being set to true
      06-25 17:08:39.711  8434 12370 I DOTNET  : 	[PASS] Setting IsEnabled to false while refreshing stops refresh
      06-25 17:08:39.712  8434 12370 I DOTNET  : 	[PASS] IsRefreshEnabled prevents IsRefreshing from being set to true
      06-25 17:08:39.712  8434 12370 I DOTNET  : 	[PASS] IsRefreshing can be set to false when IsRefreshEnabled is false
      06-25 17:08:39.712  8434 12370 I DOTNET  : Microsoft.Maui.DeviceTests.RefreshViewTests 0.1284714 ms
      06-25 17:08:39.827  8434  8455 I DOTNET  : Xml file was written to the provided writer.
      06-25 17:08:39.828  8434  8455 I DOTNET  : Tests run: 966 Passed: 953 Inconclusive: 0 Failed: 0 Ignored: 0
�[40m�[32minfo�[39m�[22m�[49m: <<XHARNESS_RESULT_START>>
      {
        "version": 1,
        "machineName": "runnervm6n5x7",
        "exitCode": 0,
        "exitCodeName": "SUCCESS",
        "platform": "android",
        "instrumentationExitCode": 0,
        "device": "emulator-5554",
        "deviceOsVersion": "API 30",
        "architecture": "x86_64",
        "files": [
          {
            "name": "testResults.xml",
            "type": "test-results"
          },
          {
            "name": "adb-logcat-com.microsoft.maui.controls.devicetests-default.log",
            "type": "logcat"
          }
        ]
      }
      <<XHARNESS_RESULT_END>>
�[40m�[32minfo�[39m�[22m�[49m: Attempting to remove apk 'com.microsoft.maui.controls.devicetests'..
�[40m�[37mdbug�[39m�[22m�[49m: Executing command: '/home/vsts/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26230.4/runtimes/any/native/adb/linux/adb -s emulator-5554 uninstall com.microsoft.maui.controls.devicetests'
�[40m�[32minfo�[39m�[22m�[49m: Successfully uninstalled com.microsoft.maui.controls.devicetests
XHarness exit code: 0
  Tests completed successfully

🟢 With fix — 📱 NavigationPageTests: 🛠️ BUILD ERROR · 10s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Core/maps/src/Maps.csproj (in 762 ms).
  Restored /home/vsts/work/1/s/src/Controls/Maps/src/Controls.Maps.csproj (in 695 ms).
  11 of 13 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Release/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Release/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Release/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Release/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  TestUtils.DeviceTests -> /home/vsts/work/1/s/artifacts/bin/TestUtils.DeviceTests/Release/net10.0-android/Microsoft.Maui.TestUtils.DeviceTests.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Release/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:00:05.32

🔴 Without fix — 🖥️ Bugzilla40955: PASS ❌ · 610s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Graphics/src/Graphics/Graphics.csproj (in 627 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/Core/Controls.Core.csproj (in 690 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/BindingSourceGen/Controls.BindingSourceGen.csproj (in 35 ms).
  Restored /home/vsts/work/1/s/src/Controls/Maps/src/Controls.Maps.csproj (in 102 ms).
  Restored /home/vsts/work/1/s/src/Controls/Foldable/src/Controls.Foldable.csproj (in 919 ms).
  Restored /home/vsts/work/1/s/src/Essentials/src/Essentials.csproj (in 17 ms).
  Restored /home/vsts/work/1/s/src/Core/src/Core.csproj (in 42 ms).
  Restored /home/vsts/work/1/s/src/Core/maps/src/Maps.csproj (in 44 ms).
  Restored /home/vsts/work/1/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj (in 1.75 sec).
  Restored /home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj (in 46 ms).
  Restored /home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj (in 879 ms).
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Xaml.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.TestCases.HostApp -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Controls.TestCases.HostApp.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Foldable.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Maps.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Xaml.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:07:14.78
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Starting: Intent { act=android.settings.SETTINGS }
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/TestUtils/src/VisualTestUtils/VisualTestUtils.csproj (in 887 ms).
  Restored /home/vsts/work/1/s/src/TestUtils/src/VisualTestUtils.MagickNet/VisualTestUtils.MagickNet.csproj (in 4.19 sec).
  Restored /home/vsts/work/1/s/src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj (in 5.26 sec).
  Restored /home/vsts/work/1/s/src/TestUtils/src/UITest.Core/UITest.Core.csproj (in 6 ms).
  Restored /home/vsts/work/1/s/src/TestUtils/src/UITest.Appium/UITest.Appium.csproj (in 2 ms).
  Restored /home/vsts/work/1/s/src/TestUtils/src/UITest.NUnit/UITest.NUnit.csproj (in 346 ms).
  Restored /home/vsts/work/1/s/src/Controls/tests/CustomAttributes/Controls.CustomAttributes.csproj (in 7 ms).
  Restored /home/vsts/work/1/s/src/TestUtils/src/UITest.Analyzers/UITest.Analyzers.csproj (in 2.47 sec).
  5 of 13 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  Controls.CustomAttributes -> /home/vsts/work/1/s/artifacts/bin/Controls.CustomAttributes/Debug/net10.0/Controls.CustomAttributes.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  UITest.Core -> /home/vsts/work/1/s/artifacts/bin/UITest.Core/Debug/net10.0/UITest.Core.dll
  VisualTestUtils -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils/Debug/netstandard2.0/VisualTestUtils.dll
  UITest.NUnit -> /home/vsts/work/1/s/artifacts/bin/UITest.NUnit/Debug/net10.0/UITest.NUnit.dll
  UITest.Appium -> /home/vsts/work/1/s/artifacts/bin/UITest.Appium/Debug/net10.0/UITest.Appium.dll
  VisualTestUtils.MagickNet -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils.MagickNet/Debug/netstandard2.0/VisualTestUtils.MagickNet.dll
  UITest.Analyzers -> /home/vsts/work/1/s/artifacts/bin/UITest.Analyzers/Debug/netstandard2.0/UITest.Analyzers.dll
  Controls.TestCases.Android.Tests -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
   NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 06/25/2026 17:18:36 FixtureSetup for Bugzilla40955(Android)
>>>>> 06/25/2026 17:18:39 MemoryLeakInFormsAppCompatActivity Start
>>>>> 06/25/2026 17:18:47 MemoryLeakInFormsAppCompatActivity Stop
  Passed MemoryLeakInFormsAppCompatActivity [8 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.13]   Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.55]   Discovered:  Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla40955.trx

Test Run Successful.
Total tests: 1
     Passed: 1
 Total time: 32.8056 Seconds
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla40955.trx

🟢 With fix — 🖥️ Bugzilla40955: 🛠️ BUILD ERROR · 472s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Controls/src/BindingSourceGen/Controls.BindingSourceGen.csproj (in 533 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/Core/Controls.Core.csproj (in 628 ms).
  Restored /home/vsts/work/1/s/src/Graphics/src/Graphics/Graphics.csproj (in 10 ms).
  Restored /home/vsts/work/1/s/src/Essentials/src/Essentials.csproj (in 28 ms).
  Restored /home/vsts/work/1/s/src/Controls/Maps/src/Controls.Maps.csproj (in 107 ms).
  Restored /home/vsts/work/1/s/src/Core/maps/src/Maps.csproj (in 39 ms).
  Restored /home/vsts/work/1/s/src/Core/src/Core.csproj (in 84 ms).
  Restored /home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj (in 29 ms).
  3 of 11 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:26.62
Success
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:24.97
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:24.29

🔴 Without fix — 🖥️ Bugzilla42329: PASS ❌ · 564s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Xaml.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Controls.TestCases.HostApp -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Controls.TestCases.HostApp.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Foldable.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Maps.dll
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Xaml.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:07:12.37
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Starting: Intent { act=android.settings.SETTINGS }
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  Controls.CustomAttributes -> /home/vsts/work/1/s/artifacts/bin/Controls.CustomAttributes/Debug/net10.0/Controls.CustomAttributes.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  UITest.Core -> /home/vsts/work/1/s/artifacts/bin/UITest.Core/Debug/net10.0/UITest.Core.dll
  VisualTestUtils -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils/Debug/netstandard2.0/VisualTestUtils.dll
  UITest.NUnit -> /home/vsts/work/1/s/artifacts/bin/UITest.NUnit/Debug/net10.0/UITest.NUnit.dll
  UITest.Appium -> /home/vsts/work/1/s/artifacts/bin/UITest.Appium/Debug/net10.0/UITest.Appium.dll
  VisualTestUtils.MagickNet -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils.MagickNet/Debug/netstandard2.0/VisualTestUtils.MagickNet.dll
  UITest.Analyzers -> /home/vsts/work/1/s/artifacts/bin/UITest.Analyzers/Debug/netstandard2.0/UITest.Analyzers.dll
  Controls.TestCases.Android.Tests -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
   NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 06/25/2026 17:27:56 FixtureSetup for Bugzilla42329(Android)
>>>>> 06/25/2026 17:27:58 MemoryLeakB42329 Start
>>>>> 06/25/2026 17:28:12 MemoryLeakB42329 Stop
  Passed MemoryLeakB42329 [13 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.15]   Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.55]   Discovered:  Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla42329.trx

Test Run Successful.
Total tests: 1
     Passed: 1
 Total time: 30.4248 Seconds
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla42329.trx

🟢 With fix — 🖥️ Bugzilla42329: 🛠️ BUILD ERROR · 475s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:26.90
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:28.50
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:26.09

🔴 Without fix — 🖥️ Bugzilla44166: FAIL ✅ · 571s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Xaml.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Controls.TestCases.HostApp -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Controls.TestCases.HostApp.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Maps.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Foldable.dll
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Xaml.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Maps.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.AspNetCore.Components.WebView.Maui.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:07:16.56
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Starting: Intent { act=android.settings.SETTINGS }
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  Controls.CustomAttributes -> /home/vsts/work/1/s/artifacts/bin/Controls.CustomAttributes/Debug/net10.0/Controls.CustomAttributes.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  UITest.Core -> /home/vsts/work/1/s/artifacts/bin/UITest.Core/Debug/net10.0/UITest.Core.dll
  VisualTestUtils -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils/Debug/netstandard2.0/VisualTestUtils.dll
  VisualTestUtils.MagickNet -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils.MagickNet/Debug/netstandard2.0/VisualTestUtils.MagickNet.dll
  UITest.NUnit -> /home/vsts/work/1/s/artifacts/bin/UITest.NUnit/Debug/net10.0/UITest.NUnit.dll
  UITest.Appium -> /home/vsts/work/1/s/artifacts/bin/UITest.Appium/Debug/net10.0/UITest.Appium.dll
  UITest.Analyzers -> /home/vsts/work/1/s/artifacts/bin/UITest.Analyzers/Debug/netstandard2.0/UITest.Analyzers.dll
  Controls.TestCases.Android.Tests -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
   NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 06/25/2026 17:37:23 FixtureSetup for Bugzilla44166(Android)
>>>>> 06/25/2026 17:37:25 Bugzilla44166Test Start
>>>>> 06/25/2026 17:37:41 Bugzilla44166Test Stop
>>>>> 06/25/2026 17:37:41 Log types: logcat, bugreport, server
  Failed Bugzilla44166Test [17 s]
  Error Message:
   At least one of the pages was not collected
  Stack Trace:
     at Microsoft.Maui.TestCases.Tests.Issues.Bugzilla44166.Bugzilla44166Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla44166.cs:line 41

1)    at Microsoft.Maui.TestCases.Tests.Issues.Bugzilla44166.Bugzilla44166Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla44166.cs:line 41


NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.15]   Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.70]   Discovered:  Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla44166.trx

Test Run Failed.
Total tests: 1
     Failed: 1
 Total time: 33.2177 Seconds
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Bugzilla44166.trx

🟢 With fix — 🖥️ Bugzilla44166: 🛠️ BUILD ERROR · 472s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:25.22
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:26.82
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:25.66

🔴 Without fix — 🖥️ Issue5555: PASS ❌ · 565s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Xaml.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.TestCases.HostApp -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Controls.TestCases.HostApp.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Xaml.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Maps.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:07:10.30
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Starting: Intent { act=android.settings.SETTINGS }
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
  Determining projects to restore...
  All projects are up-to-date for restore.
  Controls.CustomAttributes -> /home/vsts/work/1/s/artifacts/bin/Controls.CustomAttributes/Debug/net10.0/Controls.CustomAttributes.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  UITest.Core -> /home/vsts/work/1/s/artifacts/bin/UITest.Core/Debug/net10.0/UITest.Core.dll
  VisualTestUtils -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils/Debug/netstandard2.0/VisualTestUtils.dll
  UITest.NUnit -> /home/vsts/work/1/s/artifacts/bin/UITest.NUnit/Debug/net10.0/UITest.NUnit.dll
  VisualTestUtils.MagickNet -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils.MagickNet/Debug/netstandard2.0/VisualTestUtils.MagickNet.dll
  UITest.Appium -> /home/vsts/work/1/s/artifacts/bin/UITest.Appium/Debug/net10.0/UITest.Appium.dll
  UITest.Analyzers -> /home/vsts/work/1/s/artifacts/bin/UITest.Analyzers/Debug/netstandard2.0/UITest.Analyzers.dll
  Controls.TestCases.Android.Tests -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
   NUnit3TestExecutor discovered 2 of 2 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 06/25/2026 17:46:47 FixtureSetup for Issue5555(Android)
>>>>> 06/25/2026 17:46:50 TableViewMemoryLeakWhenUsingSwitchCellOrEntryCell Start
>>>>> 06/25/2026 17:46:58 TableViewMemoryLeakWhenUsingSwitchCellOrEntryCell Stop
  Passed TableViewMemoryLeakWhenUsingSwitchCellOrEntryCell [8 s]
>>>>> 06/25/2026 17:47:00 FixtureSetup for Issue55555(Android)
>>>>> 06/25/2026 17:47:06 TGroupDisplayBindingPresentRecycleElementTest Start
>>>>> 06/25/2026 17:47:07 TGroupDisplayBindingPresentRecycleElementTest Stop
  Passed TGroupDisplayBindingPresentRecycleElementTest [1 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.12]   Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.50]   Discovered:  Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue5555.trx

Test Run Successful.
Total tests: 2
     Passed: 2
 Total time: 33.4711 Seconds
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue5555.trx

🟢 With fix — 🖥️ Issue5555: 🛠️ BUILD ERROR · 470s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:25.07
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:26.47
* daemon not running; starting now at tcp:5037
* daemon started successfully
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
  Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll

Build FAILED.

/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0-android36.0]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:02:24.73

🔴 Without fix — 🧪 BorderTests: PASS ❌ · 20s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/TestUtils/src/TestUtils/TestUtils.csproj (in 1.11 sec).
  Restored /home/vsts/work/1/s/src/Core/tests/UnitTests/Core.UnitTests.csproj (in 1.92 sec).
  5 of 7 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  TestUtils -> /home/vsts/work/1/s/artifacts/bin/TestUtils/Debug/netstandard2.0/Microsoft.Maui.TestUtils.dll
  Core.UnitTests -> /home/vsts/work/1/s/artifacts/bin/Core.UnitTests/Debug/net10.0/Microsoft.Maui.UnitTests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Core.UnitTests/Debug/net10.0/Microsoft.Maui.UnitTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.13]   Discovering: Microsoft.Maui.UnitTests
[xUnit.net 00:00:00.75]   Discovered:  Microsoft.Maui.UnitTests
[xUnit.net 00:00:00.77]   Starting:    Microsoft.Maui.UnitTests
  Passed BorderStrokeShapeSubscribed [151 ms]
  Passed TestDefaultBorderStrokeShape [4 ms]
  Passed TestSetChild [18 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Rectangle)) [23 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Ellipse)) [19 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.RoundRectangle)) [15 ms]
  Passed TestBorderPropagateBindingContext [11 ms]
  Passed BorderStrokeSubscribed [15 ms]
  Passed TestReplaceChild [2 ms]
[xUnit.net 00:00:01.29]   Finished:    Microsoft.Maui.UnitTests
  Passed TestStrokeShapeBindingContext [< 1 ms]

Test Run Successful.
Total tests: 10
     Passed: 10
 Total time: 2.4771 Seconds

🟢 With fix — 🧪 BorderTests: PASS ✅ · 74s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  TestUtils -> /home/vsts/work/1/s/artifacts/bin/TestUtils/Debug/netstandard2.0/Microsoft.Maui.TestUtils.dll
  Core.UnitTests -> /home/vsts/work/1/s/artifacts/bin/Core.UnitTests/Debug/net10.0/Microsoft.Maui.UnitTests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Core.UnitTests/Debug/net10.0/Microsoft.Maui.UnitTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.13]   Discovering: Microsoft.Maui.UnitTests
[xUnit.net 00:00:00.73]   Discovered:  Microsoft.Maui.UnitTests
[xUnit.net 00:00:00.75]   Starting:    Microsoft.Maui.UnitTests
  Passed BorderStrokeShapeSubscribed [82 ms]
  Passed TestDefaultBorderStrokeShape [< 1 ms]
  Passed TestSetChild [11 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Rectangle)) [10 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.Ellipse)) [3 ms]
  Passed BorderStrokeShapeDoesNotLeak(type: typeof(Microsoft.Maui.Controls.Shapes.RoundRectangle)) [6 ms]
  Passed TestBorderPropagateBindingContext [4 ms]
  Passed BorderStrokeSubscribed [5 ms]
  Passed TestReplaceChild [1 ms]
[xUnit.net 00:00:01.00]   Finished:    Microsoft.Maui.UnitTests
  Passed TestStrokeShapeBindingContext [< 1 ms]

Test Run Successful.
Total tests: 10
     Passed: 10
 Total time: 1.7729 Seconds

🔴 Without fix — 🧪 CollectionViewTests: FAIL ✅ · 36s
  Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj (in 1.01 sec).
  9 of 10 projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0/Microsoft.Maui.Maps.dll
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0/Microsoft.Maui.Controls.Xaml.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0/Microsoft.Maui.Controls.Maps.dll
  TestUtils -> /home/vsts/work/1/s/artifacts/bin/TestUtils/Debug/netstandard2.0/Microsoft.Maui.TestUtils.dll
  Controls.Core.UnitTests -> /home/vsts/work/1/s/artifacts/bin/Controls.Core.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Core.UnitTests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.Core.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Core.UnitTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.16]   Discovering: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.46]   Discovered:  Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.47]   Starting:    Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.58]     CanCollectEmptyView [FAIL]
[xUnit.net 00:00:01.58]       Assert.False() Failure
[xUnit.net 00:00:01.58]       Expected: False
[xUnit.net 00:00:01.58]       Actual:   True
[xUnit.net 00:00:01.58]       Stack Trace:
[xUnit.net 00:00:01.58]         /_/src/Controls/tests/Core.UnitTests/CollectionViewTests.cs(25,0): at Microsoft.Maui.Controls.Core.UnitTests.CollectionViewTests.CanCollectEmptyView()
[xUnit.net 00:00:01.58]         --- End of stack trace from previous location ---
[xUnit.net 00:00:01.59]   Finished:    Microsoft.Maui.Controls.Core.UnitTests
  Failed CanCollectEmptyView [35 ms]
  Error Message:
   Assert.False() Failure
Expected: False
Actual:   True
  Stack Trace:
     at Microsoft.Maui.Controls.Core.UnitTests.CollectionViewTests.CanCollectEmptyView() in /_/src/Controls/tests/Core.UnitTests/CollectionViewTests.cs:line 25
--- End of stack trace from previous location ---

Test Run Failed.
Total tests: 1
     Failed: 1
 Total time: 2.3340 Seconds

🟢 With fix — 🧪 CollectionViewTests: 🛠️ BUILD ERROR · 14s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0/Microsoft.Maui.Maps.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]

🔴 Without fix — 🧪 TestHelpers: PASS ❌ · 18s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0/Microsoft.Maui.Controls.Xaml.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0/Microsoft.Maui.Controls.Maps.dll
  TestUtils -> /home/vsts/work/1/s/artifacts/bin/TestUtils/Debug/netstandard2.0/Microsoft.Maui.TestUtils.dll
  Controls.Core.UnitTests -> /home/vsts/work/1/s/artifacts/bin/Controls.Core.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Core.UnitTests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.Core.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Core.UnitTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.01] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.45]   Discovering: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:03.28]   Discovered:  Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:03.30]   Starting:    Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:03.44]   Finished:    Microsoft.Maui.Controls.Core.UnitTests
  Passed TestHelpers [27 ms]

Test Run Successful.
Total tests: 1
     Passed: 1
 Total time: 4.9155 Seconds

🟢 With fix — 🧪 TestHelpers: 🛠️ BUILD ERROR · 12s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0/Microsoft.Maui.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0/Microsoft.Maui.Controls.Maps.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]

🔴 Without fix — 📄 Maui22036: PASS ❌ · 86s

(truncated to last 15,000 chars)

s/Issues/Maui24472.xaml(41,32): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui24500.xaml(6,28): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui25309.xaml(21,9): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui25871.xaml(14,24): XamlC warning XC0045: Binding: Property "UpdateProgress" not found on "Microsoft.Maui.Controls.Xaml.UnitTests.Maui25871ViewModel". [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui25935.xaml(8,13): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31939.xaml(7,29): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31939.xaml(14,29): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31939.xaml(15,29): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(7,26): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(12,56): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(18,84): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(23,84): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(30,56): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(36,84): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui31995.xaml(44,28): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32056.xaml(9,9): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32837.xaml(13,18): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32924.xaml(14,20): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32924.xaml(18,20): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32924.xaml(22,20): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui32924.xaml(27,20): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui33291.xaml(20,29): XamlC warning XC0045: Binding: Property "BindingContext" not found on "Microsoft.Maui.Controls.Xaml.UnitTests.Maui33291Item". [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui33293.xaml(14,29): XamlC warning XC0045: Binding: Property "BindingContext" not found on "Microsoft.Maui.Controls.Xaml.UnitTests.Maui33293Product". [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui33876.xaml(8,20): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui34490.xaml(12,25): XamlC warning XC0045: Binding: Property "BindingContext" not found on "Microsoft.Maui.Controls.Xaml.UnitTests.Maui34490ItemModel". [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui6367.xaml(10,50): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Maui8149.xaml(12,43): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/RefToXamlControl.xaml(7,33): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/SetValue.xaml(20,26): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/SetValue.xaml(52,27): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/SetValue.xaml(53,27): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/WarnOnObsolete.xaml(6,25): XamlC warning XC0618: Property, Property setter or BindableProperty "ObsoleteBP" is deprecated. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/WarnOnObsolete.xaml(6,42): XamlC warning XC0618: Property, Property setter or BindableProperty "ObsoleteProp" is deprecated. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/WarnOnObsolete.xaml(6,61): XamlC warning XC0618: Property, Property setter or BindableProperty "ObsoletePropSetter" is deprecated. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/XReference.xaml(16,4): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/XReference.xaml(21,26): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/XReference.xaml(21,77): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Issues/Gh2007.rtxc.xaml(3,9): XamlC warning XC0022: Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information. [/home/vsts/work/1/s/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
  Controls.Xaml.UnitTests -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Xaml.UnitTests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.Xaml.UnitTests/Debug/net10.0/Microsoft.Maui.Controls.Xaml.UnitTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.37]   Discovering: Microsoft.Maui.Controls.Xaml.UnitTests
[xUnit.net 00:00:04.15]   Discovered:  Microsoft.Maui.Controls.Xaml.UnitTests
[xUnit.net 00:00:04.16]   Starting:    Microsoft.Maui.Controls.Xaml.UnitTests
[xUnit.net 00:00:04.38]   Finished:    Microsoft.Maui.Controls.Xaml.UnitTests
  Passed StyleWithTriggerLeak(inflator: SourceGen) [64 ms]
  Passed StyleWithTriggerLeak(inflator: XamlC) [16 ms]
  Passed StyleWithTriggerLeak(inflator: Runtime) [48 ms]

Test Run Successful.
Total tests: 3
     Passed: 3
 Total time: 5.1595 Seconds

🟢 With fix — 📄 Maui22036: 🛠️ BUILD ERROR · 13s
  Determining projects to restore...
  All projects are up-to-date for restore.
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0/Microsoft.Maui.Maps.dll
  Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  ##vso[build.updatebuildnumber]10.0.90-ci+azdo.14486593
  Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0/Microsoft.Maui.Controls.Maps.dll
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(4,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]
/home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(5,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations [/home/vsts/work/1/s/src/Controls/src/Xaml/Controls.Xaml.csproj::TargetFramework=net10.0]

⚠️ Failure Details (16 tests)
  • NavigationPageTests PASSED without fix (should fail) — tests don't catch the bug
  • Bugzilla40955 PASSED without fix (should fail) — tests don't catch the bug
  • Bugzilla42329 PASSED without fix (should fail) — tests don't catch the bug
  • Issue5555 PASSED without fix (should fail) — tests don't catch the bug
  • BorderTests PASSED without fix (should fail) — tests don't catch the bug
  • TestHelpers PASSED without fix (should fail) — tests don't catch the bug
  • Maui22036 PASSED without fix (should fail) — tests don't catch the bug
  • 🛠️ ImageSourceServiceTests with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ NavigationPageTests with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ Bugzilla40955 with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ Bugzilla42329 with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ Bugzilla44166 with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ Issue5555 with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ CollectionViewTests with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ TestHelpers with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
  • 🛠️ Maui22036 with fix: build failed (fix does not compile)
    • /home/vsts/work/1/s/src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs(2,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaratio...
📁 Fix files reverted (14 files)
  • src/Controls/src/Core/Compatibility/Handlers/Android/FrameRenderer.cs
  • src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellFlyoutRecyclerAdapter.cs
  • src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellRenderer.cs
  • src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellToolbarTracker.cs
  • src/Controls/src/Core/FlyoutPage/FlyoutPage.cs
  • src/Controls/src/Core/NavigationPage/NavigationPageToolbar.cs
  • src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs
  • src/Core/src/Handlers/Border/BorderHandler.Android.cs
  • src/Core/src/Handlers/ContentView/ContentViewHandler.Android.cs
  • src/Core/src/Handlers/FlyoutView/FlyoutViewHandler.Android.cs
  • src/Core/src/Handlers/Layout/LayoutHandler.Android.cs
  • src/Core/src/Platform/Android/Navigation/NavigationRootManager.cs
  • src/Core/src/Platform/Android/Navigation/ScopedFragment.cs
  • src/Core/src/Platform/Android/Navigation/StackNavigationManager.cs

📱 UI Tests — FlyoutPage,ListView,Navigation,Performance,Shell,TableView,ViewBaseTests

Detected UI test categories: FlyoutPage,ListView,Navigation,Performance,Shell,TableView,ViewBaseTests


🔗 Regression Cross-Reference

🔍 Regression Cross-Reference

🟡 Overlaps with prior bug-fix PRs — same files modified, but no exact line revert detected.

File Fix PR Fixed issue(s)
src/Core/src/Handlers/FlyoutView/FlyoutViewHandler.Android.cs #34485 #33355

🧪 Regression Tests to Verify

These tests were added by the overlapping fix PRs. Running them to verify no side-effect regressions:

Fix PR Type Test Filter
#34485 DeviceTest MemoryTests MemoryTests

🧪 Regression Test Results

⏭️ SKIPPED — 0 passed, 0 failed, 1 skipped

Fix PR Test Type Result
#34485 MemoryTests DeviceTest ⏭️ ERROR

📋 Pre-Flight — Context & Validation

Issue: #27411 - [net10.0] Enable back Memory leak tests on Android
PR: #28484 - [tests] Enable back some MemoryLeak tests
Platforms Affected: Android
Files Changed: 14 implementation, 16 test

Key Findings

  • PR re-enables Android memory leak tests and changes production Android lifecycle cleanup across handlers, navigation root, flyout, stack navigation, and Shell.
  • Linked issue lists skipped Android memory tests: PagesDoNotLeak, NavigationPage tests, Bugzilla44166, Bugzilla40955, and MemoryLeakB42329.
  • gh is unauthenticated locally; PR metadata and issue context were gathered via unauthenticated GitHub API plus the checked-out squashed PR diff.
  • The checked-out PR diff contains a compile-breaking typo: susing System; in StaticExtension.cs.

Code Review Summary

Verdict: NEEDS_CHANGES
Confidence: low
Errors: 1 | Warnings: 2 | Suggestions: 0

Key code review findings:

  • src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs:1 contains invalid C# (susing System;).
  • ⚠ Broad recursive child handler disconnection from parent handlers can break valid Android reparent/reuse lifecycle.
  • ⚠ Synchronous FragmentManager cleanup (ExecutePendingTransactions / CommitNowAllowingStateLoss) can alter unrelated pending fragment lifecycle and mask invalid state.

Fix Candidates

# Source Approach Test Result Files Changed Notes
PR PR #28484 Broad proactive cleanup across Android handlers/fragments/navigation plus re-enabled memory tests ⚠️ INCONCLUSIVE (Gate) 30 files Original PR; gate could not build/run and code review found compile typo/risk

🔬 Code Review — Deep Analysis

Code Review — PR #28484

Independent Assessment

What this changes: Re-enables Android memory-leak coverage and makes broad Android lifecycle cleanup changes across ContentView/Border/Layout/Flyout/NavigationRoot/Stack/Shell cleanup paths. It also changes GC forcing in tests and includes a XAML parser source edit.
Inferred motivation: Android pages and nested controls were retained after navigation/flyout/page replacement, so the PR tries to break handler/native/fragment reference cycles and make memory tests collectible.

Reconciliation with PR Narrative

Author claims: Enable previously skipped Android memory-leak tests for #27411.
Agreement/disagreement: The implementation goes substantially beyond enabling tests: it changes production Android handler/navigation lifecycle behavior. That may be necessary, but the breadth increases regression risk.

Prior Review Reconciliation

Prior ❌ Error Finding Source Status Evidence
None available locally GitHub API/gh reviews unavailable N/A gh unauthenticated; unauthenticated issue comments only showed rerun/merge-conflict/status comments.

Blast Radius Assessment

  • Runs for all instances: yes — handler disconnect and fragment cleanup paths affect all Android ContentView, Border, Layout, FlyoutView, NavigationPage/Shell/FlyoutPage scenarios, not only memory tests.
  • Startup impact: partial — navigation root and Shell fragment creation/disconnection paths can run during root page setup and replacement.
  • Static/shared state: no new static state found, but event subscriptions and fragment-manager callbacks are modified.

CI Status

  • Required-check result: undetermined
  • Classification: tool-unavailable / gate inconclusive
  • Action taken: gh is unauthenticated in this environment; the provided gate result is inconclusive due build/environment error, so confidence is capped low.

Findings

❌ Error — PR introduces a compile-breaking typo

src/Controls/src/Xaml/MarkupExtensions/StaticExtension.cs:1 changes using System; to susing System;, which is invalid C# and will prevent the project from compiling.

⚠️ Warning — Broad recursive handler disconnects can break legitimate reparent/reuse lifecycle

The PR adds direct child DisconnectHandler() calls in Android ContentView/Border/Layout/Flyout/NavigationRoot/Stack paths. These paths can run for normal reparenting, fragment recreation, Shell tab switching, or flyout layout mode changes, and can bypass the existing ownership policy where Window/page lifecycle owns recursive disconnection.

⚠️ Warning — Synchronous fragment transaction cleanup may execute unrelated pending transactions

NavigationRootManager, FlyoutViewHandler, and ShellRenderer add ExecutePendingTransactions() / CommitNowAllowingStateLoss() in disconnect/replace paths. This can force lifecycle ordering for unrelated fragment work and hide invalid-state problems behind ignored exceptions.

Failure-Mode Probing

  • What happens if a child is being moved rather than removed? The new parent-level disconnect can disconnect the child handler before the new owner has completed setup, risking stale/null handlers and lost native state.
  • What happens if FragmentManager has pending work for another MAUI surface? ExecutePendingTransactions() can flush more than the local manager intended, so lifecycle callbacks may run under a disconnect path.
  • What happens if the PR is built as-is? The susing typo should fail compilation before tests can validate memory behavior.

Verdict: NEEDS_CHANGES

Confidence: low (CI/check status unavailable and Android lifecycle changes have broad blast radius)
Summary: The intent is valid, but the current PR has an immediate compile error and a broad cleanup strategy with high Android lifecycle regression risk. Alternative fixes should target ownership boundaries: fragment-owned view release, cancellable deferred transactions, or explicit tracker/reference cleanup rather than recursively disconnecting all child handlers from many parent handlers.


🛠️ Fix — Analysis & Comparison

Fix Candidates

# Source Approach Test Result Files Changed Notes
1 try-fix Fragment-owned cleanup: release MAUI view from ScopedFragment/root cleanup and clear Flyout fragment refs ⚠️ Blocked 3 implementation files + tests Build stopped before candidate compile: MSBuild tasks not built
2 try-fix Generation-gated deferred fragment transactions; stale RunOrWaitForResume callbacks no-op after disconnect/replacement ⚠️ Blocked 2 implementation files + tests Build stopped before candidate compile: MSBuild tasks not built
3 try-fix Controls/Shell observer cleanup: clear toolbar page stacks, Shell flyout adapter groupings, and pending stack navigation state ⚠️ Blocked/timeout 3 implementation files + tests Build-task recovery succeeded; APK installed and instrumentation started, but test did not finish before timeout
4 try-fix Native back-reference cycle cleanup: clear CrossPlatformLayout and ContainerView references without child handler recursion ⚠️ Blocked 3 implementation files + tests Worktree-specific build-task freshness check still failed before candidate compile
PR PR #28484 Broad proactive cleanup across Android handlers/fragments/navigation plus re-enabled memory tests ⚠️ INCONCLUSIVE (Gate) 30 files Original PR; gate could not build/run and code review found compile typo/risk

Cross-Pollination

Model/Reviewer Round New Ideas? Details
maui-expert-reviewer 1 Yes Suggested fragment-owned cleanup, generation-gated fragment transactions, native back-reference cleanup, and controls/tracker cleanup. All four were explored as candidates.
gpt-5.5 orchestrator 2 No Remaining variations were combinations of the explored approaches; no additional meaningfully distinct approach was identified after all expert-suggested categories were covered.

Exhausted: Yes
Selected Fix: None — no candidate passed all required tests. Candidate 3 got furthest (build + emulator install + instrumentation start) but timed out without a test result. Code review also found PR #28484 currently contains a compile-breaking susing System; typo in StaticExtension.cs, so the PR fix should not be considered verified from this loop.

Test Evidence

  • Mandatory regression/device command used for every candidate: pwsh .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Controls -Platform android -TestFilter "MemoryTests"
  • Candidate 1: blocked before compile by missing build tasks (Maui.InTree.targets).
  • Candidate 2: blocked before compile by missing build tasks (Maui.InTree.targets).
  • Candidate 3: after dotnet build Microsoft.Maui.BuildTasks.slnf succeeded, device run reached emulator instrumentation but was terminated after timeout without pass/fail.
  • Candidate 4: blocked before compile by missing build tasks (Maui.InTree.targets) in its separate temp worktree.

📝 Recommended PR Title & Description

Assessment: ✏️ Recommend updating — the current metadata only says tests were re-enabled, but the winning fix also changes Android handler/navigation/Shell cleanup and needs a more specific Android title.

Recommended title

[Android] MemoryLeak: Re-enable tests and clean up handler teardown

Recommended description

### Description of Change

Re-enables the Android memory leak tests that were commented out on the net10.0 branch and fixes the Android cleanup paths those tests exercise.

The fix updates Android handler/navigation teardown so old views and fragments can be released without bypassing MAUI lifecycle rules:

- Cleans retained references in Android content/layout/flyout/navigation/Shell teardown paths.
- Uses policy-aware `DisconnectHandlers()` for child view cleanup so `HandlerDisconnectPolicy.Manual` remains honored.
- Keeps normal FragmentManager replacement/removal paths deferred through `RunOrWaitForResume` instead of forcing synchronous commits during resume/state-saved scenarios.
- Clears stale native/managed references in affected Android navigation, flyout, Shell, and toolbar helpers.

### Issues Fixed

Fixes #27411

🏁 Report — Final Recommendation

Comparative Report — PR #28484

Candidate ranking

Rank Candidate Regression result Review result Rationale
1 pr-plus-reviewer Not rerun; inherits inconclusive gate Best Fixes the raw PR's compile break, preserves HandlerDisconnectPolicy.Manual via DisconnectHandlers(), and restores deferred FragmentManager commits for normal replacement paths while preserving the PR's Android memory-leak cleanup intent.
2 try-fix-1 Blocked before candidate compile Plausible but narrower Fragment-owned cleanup is a safer direction than broad recursive handler teardown, but the candidate never compiled/ran and only covers fragment/root/flyout cleanup.
3 try-fix-2 Blocked before candidate compile Plausible but narrower Generation-gated deferred transactions directly address stale RunOrWaitForResume callbacks and avoid synchronous commits, but the candidate was unverified and does not cover the broader retained-reference set.
4 try-fix-4 Blocked before candidate compile Plausible but partial Native back-reference cleanup is targeted and low-risk, but it covers only Border/Layout/ContainerView cycles and was blocked before compile.
5 try-fix-3 Blocked/timeout after instrumentation started Risky/noisy It progressed furthest operationally, but did not produce a pass/fail result and its diff includes unrelated HybridWebView.js changes, making it less suitable despite useful Shell/navigation reference cleanup ideas.
6 pr Inconclusive gate; code review found compile break Fails code review The raw PR contains susing System;, which is a compile-breaking typo, plus direct child handler disconnects that bypass manual disconnect policy and synchronous fragment commits in deferred/resume paths.

Notes on test evidence

No candidate produced a passing Android MemoryTests result. The raw PR gate is explicitly inconclusive and must not be treated as a regression failure; the try-fix candidates were blocked by build prerequisites or timeout. Since no candidate passed regression tests, ranking is based on compile correctness, lifecycle safety, scope coverage, and review findings.

Candidate comparison

pr has the broadest coverage, but it cannot be selected as-is because it contains a syntax error and introduces Android lifecycle risks. pr-plus-reviewer keeps the useful breadth of the PR while applying the expert review's actionable fixes in a sandbox copy.

try-fix-1 and try-fix-2 are strong conceptual alternatives because they avoid broad handler recursion and avoid synchronous fragment commits. However, they are narrower than the reviewed PR-plus patch and did not get past environment/build blockers. try-fix-4 is similarly targeted but only addresses native back-reference cycles. try-fix-3 contains relevant Shell/navigation cleanup, but the unrelated HybridWebView diff noise and timeout make it a weaker candidate.

Winning candidate

Winner: pr-plus-reviewer

pr-plus-reviewer is the single best candidate because it is the only option that combines the PR's broad Android memory-leak cleanup/test re-enablement with the expert review's fixes for the compile error, manual-disconnect-policy violation, and unsafe deferred fragment transaction changes. It remains unverified at runtime, but among unverified candidates it is the most complete and lowest-risk implementation.


🧭 Next Steps — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

@kubaflo

kubaflo commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@kubaflo

kubaflo commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Note

🔍 This comment and action were generated by GitHub Copilot CLI on behalf of @kubaflo.

Closing this PR in favor of a fresh, verified take on #27411.

This branch had grown large (source-level leak fixes across FlyoutView/Navigation/Shell + test re-enables) and had drifted far behind main with repeated conflicts. In the meantime the underlying leaks for most of the affected tests have already been resolved on main.

I re-enabled the disabled Android memory-leak tests and verified them locally on an Android API 30 emulator (multiple runs):

Test Result on main
Bugzilla40955.MemoryLeakInFormsAppCompatActivity ✅ passes
Bugzilla42329.MemoryLeakB42329 ✅ passes
Bugzilla44166.Bugzilla44166Test ❌ still leaks (FlyoutPage not collected)

The device-level tests from #27411 (MemoryTests.PagesDoNotLeak, NavigationPageTests.ChildPagesDoNotLeak, ShellTests.PagesDoNotLeak) are already enabled on main.

Replacement PR: #36480 (re-enables the two passing tests).
Remaining FlyoutPage leak tracked separately: #36479.

Thanks @rmarinho for the original investigation here — the remaining work is now scoped down to the single FlyoutPage case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-testing Unit tests, device tests perf/memory-leak 💦 Memory usage grows / objects live forever (sub: perf) platform/android s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) testing-reenable

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[net10.0] Enable back Memory leak tests on Android