Skip to content

[tests] Update the size-comparison tests. - #26742

Merged
rolfbjarne merged 2 commits into
mainfrom
dev/rolf/tests-update-size-comparison
Sep 30, 2026
Merged

rolfbjarne merged 2 commits into
mainfrom
dev/rolf/tests-update-size-comparison

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member
  • Remove the Xamarin projects.
  • Add support for comparing against an app build elsewhere (by specifying the path to the other .app directory).
  • Simplify a number of things.
  • Update the MAUI size-comparison app to work.

* Remove the Xamarin projects.
* Add support for comparing against an app build elsewhere (by specifying the path to the other .app directory).
* Simplify a number of things.
* Update the MAUI size-comparison app to work.
Copilot AI lite review requested due to automatic review settings September 25, 2026 15:45

Copilot AI left a comment

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.

Copilot review overview

🟡 Changes recommended

Critical build, wrapper, and app-comparison issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Modernizes the size-comparison tests with current .NET iOS/MAUI projects and external baseline app support.

Changes:

  • Removes legacy Xamarin projects and mapping files.
  • Adds MAUI resources, startup code, and project configuration.
  • Simplifies build and comparison Makefile workflows.

Final findings:

  • Critical (4 votes): Incorrect shared-target paths in both project files.
  • Critical (1 vote): Existing Makefile wrappers reference removed targets and projects.
  • Critical (3 votes): appcompare recipe uses invalid arguments.
  • Nit (1 vote): Documentation still describes the removed workflow.
  • Nit (3 votes): Fix you package to your package.
File Summary
tests/​dotnet/​size-comparison/​MySingleView/​oldnet/​MySingleView.csproj Removes legacy project.
tests/​dotnet/​size-comparison/​MySingleView/​MySingleView.map Removes obsolete mapping.
tests/​dotnet/​size-comparison/​MySingleView/​MySingleView.csproj Updates .NET iOS project.
tests/​dotnet/​size-comparison/​MySingleView/​Info.plist Removes hard-coded minimum OS version.
tests/​dotnet/​size-comparison/​MauiForms/​Resources/​Raw/​AboutAssets.txt Adds MAUI asset documentation.
tests/​dotnet/​size-comparison/​MauiForms/​Resources/​Images/​dotnet_bot.svg Adds image resource.
tests/​dotnet/​size-comparison/​MauiForms/​Resources/​appiconfg.svg Adds icon foreground.
tests/​dotnet/​size-comparison/​MauiForms/​Resources/​appicon.svg Adds app icon.
tests/​dotnet/​size-comparison/​MauiForms/​Properties/​launchSettings.json Adds launch settings.
tests/​dotnet/​size-comparison/​MauiForms/​Platforms/​iOS/​Program.cs Adds iOS entry point.
tests/​dotnet/​size-comparison/​MauiForms/​Platforms/​iOS/​Info.plist Adds iOS metadata.
tests/​dotnet/​size-comparison/​MauiForms/​Platforms/​iOS/​AppDelegate.cs Adds MAUI app delegate.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​MauiForms.Shared.csproj Removes legacy project.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​MainPage.xaml.cs Removes legacy page code.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​MainPage.xaml Removes legacy page markup.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​AssemblyInfo.cs Removes legacy assembly metadata.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​App.xaml.cs Removes legacy app code.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms/​App.xaml Removes legacy app markup.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.slnx Removes legacy solution.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Resources/​LaunchScreen.storyboard Removes legacy launch screen.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Properties/​AssemblyInfo.cs Removes legacy assembly metadata.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​MauiForms.iOS.csproj Removes legacy iOS project.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Main.cs Removes legacy entry point.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Info.plist Removes legacy iOS metadata.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Entitlements.plist Removes legacy entitlements.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​Assets.xcassets/​AppIcon.appiconset/​Contents.json Removes legacy app icon metadata.
tests/​dotnet/​size-comparison/​MauiForms/​oldnet/​MauiForms.iOS/​AppDelegate.cs Removes legacy app delegate.
tests/​dotnet/​size-comparison/​MauiForms/​MauiProgram.cs Adds MAUI startup configuration.
tests/​dotnet/​size-comparison/​MauiForms/​MauiForms.slnx Adds modern solution definition.
tests/​dotnet/​size-comparison/​MauiForms/​MauiForms.map Removes obsolete mapping.
tests/​dotnet/​size-comparison/​MauiForms/​MauiForms.csproj Configures the MAUI iOS project.
tests/​dotnet/​size-comparison/​MauiForms/​Makefile Uses shared comparison targets.
tests/​dotnet/​size-comparison/​MauiForms/​MainPage.xaml.cs Updates nullable event handling.
tests/​dotnet/​size-comparison/​MauiForms/​MainPage.xaml Adds the MAUI sample page.
tests/​dotnet/​size-comparison/​MauiForms/​dotnet/​App.xaml.cs Removes obsolete app implementation.
tests/​dotnet/​size-comparison/​MauiForms/​App.xaml.cs Adds MAUI window creation.
tests/​dotnet/​size-comparison/​MauiForms/​App.xaml Adds MAUI application resources.
tests/​dotnet/​size-comparison/​common.mk Adds external baseline support and simplified build workflow.

Comment thread tests/dotnet/size-comparison/common.mk Resolved
Comment thread tests/dotnet/size-comparison/common.mk Resolved
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne
rolfbjarne enabled auto-merge (squash) September 28, 2026 17:59
@rolfbjarne rolfbjarne added the ready-to-review This PR is ready to review/merge. label Sep 28, 2026
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

dalexsoto
dalexsoto previously approved these changes Sep 28, 2026
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Copilot AI lite review requested due to automatic review settings September 30, 2026 08:49

Copilot AI left a comment

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.

Copilot review overview

🔵 Needs a closer look

Unresolved issues affect shared-target imports, build targets, comparison mappings, report generation, and workload installation.

Review effort: Lite
Findings: None

Resolved since last review (2)

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 22eae5c77a5f5e4c70b4fb553aa437015c0568c0 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #22eae5c] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 221 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 21 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 21 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 22eae5c77a5f5e4c70b4fb553aa437015c0568c0 [PR build]

@rolfbjarne
rolfbjarne merged commit 2e759c1 into main Sep 30, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/tests-update-size-comparison branch September 30, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants