Skip to content

Fix uno win target - #2080

Merged
beto-rodriguez merged 5 commits into
devfrom
fix-uno-win-target
Feb 1, 2026
Merged

Fix uno win target#2080
beto-rodriguez merged 5 commits into
devfrom
fix-uno-win-target

Conversation

@beto-rodriguez

@beto-rodriguez beto-rodriguez commented Feb 1, 2026

Copy link
Copy Markdown
Collaborator

In a previous commit the Uno target framework was updated from net10.0-windows10.0.26100 to net10.0-windows10.0.19041.0, that solves #2005. This PR adds a UI test against net10.0-windows10.0.19041.0 to ensure that the library compiles and passes tests against that target.

Copilot AI review requested due to automatic review settings February 1, 2026 13:46
@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.

Test Results Summary (Failure) ❌ 😥

Core Windows Linux Mac Browser Android iOS
⚠️ cancelled ⚠️ cancelled ⚠️ cancelled ⚠️ cancelled ⚠️ cancelled ⚠️ cancelled ⚠️ cancelled

0 skipped.
0 passed.
0 failed. ❌

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.

Pull request overview

This pull request fixes a compilation error in the Uno Platform sample by correcting the Windows target framework version from an invalid value to the standard version used across the codebase.

Changes:

  • Updated Windows target framework from net10.0-windows10.0.26100 to net10.0-windows10.0.19041.0 in the UnoPlatformSample project
  • Added a new CI test matrix entry for testing the Uno Platform with the WinUI-specific target framework

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
samples/UnoPlatformSample/UnoPlatformSample/UnoPlatformSample.csproj Corrects the Windows target framework to match the standard version used across all other Windows samples (WinUI, WPF, WinForms, MAUI)
.github/workflows/livecharts.yml Adds CI testing for the Uno Platform with Windows-specific target framework

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/livecharts.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 1, 2026 13:52
@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Failure) ❌ 😥

Core Windows Linux Mac Browser Android iOS
✅ passed ❌ failed ✅ passed ✅ passed ✅ passed ✅ passed ✅ passed

0 skipped.
1038 passed.
1 failed. ❌

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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Passed) ✅ 🥳

0 skipped.
1 failed.
735 passed! ✅

Test Results Summary (Passed) ✅ 🥳

0 skipped.
1 failed.
735 passed! ✅

Copilot AI review requested due to automatic review settings February 1, 2026 15:50
@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown

Thanks for your contribution!

The build and test process is starting. This may take a while.
You can find more details below as the process continues or at the actions tab.


All packages have been packed successfully! 📦✅
You can download the NuGet packages for this build here.

The packages will be available for 30 days, you can either use them directly, or wait for this PR to be merged to have them published to NuGet.org.


Tests will start now, you can monitor their progress below or at the actions tab.

Test Results Summary (Passed) ✅ 🥳

0 skipped.
0 failed.
1088 passed! ✅

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

max_attempts: 3
shell: pwsh
command: dotnet run --project tests/UITests -c Release --report-trx --no-progress --select ${{ inputs.test-id }} --test-env tf=${{ inputs.target-framework }} lvcversionsuffix=-${{ github.sha }}
command: dotnet run --project tests/UITests -c Release --report-trx --report-trx-filename results.trx --no-progress --select ${{ inputs.test-id }} --test-env tf=${{ inputs.target-framework }} lvcversionsuffix=-${{ github.sha }}

Copilot AI Feb 1, 2026

Copy link

Choose a reason for hiding this comment

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

The --report-trx-filename results.trx parameter was added to the regular UI tests command, but the Android emulator test command on line 80 is missing this parameter. This creates an inconsistency between the two test execution paths. For consistency and to ensure both test types generate TRX files with the same naming pattern, the Android emulator test command should also include --report-trx-filename results.trx.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Comment thread .github/actions/run-tests/action.yml

Copilot AI commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

@beto-rodriguez I've opened a new pull request, #2081, to work on those changes. Once the pull request is ready, I'll request review from you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants