Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UWP Build #1263

Closed
wants to merge 2 commits into from
Closed

fix: UWP Build #1263

wants to merge 2 commits into from

Conversation

vatsashah45
Copy link
Contributor

GitHub Issue (If applicable): #

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

What is the new behavior?

Fixes UWP Build

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@vatsashah45 vatsashah45 self-assigned this Oct 10, 2024
@@ -1,13 +1,16 @@
using System;
// FindFirstDescendent is not available in UWP
Copy link
Contributor

Choose a reason for hiding this comment

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

in toolkit, use GetFirstDescendent which is an any-plat impl
the Find... from uno.ui is uno-only

Copy link
Contributor

Choose a reason for hiding this comment

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

either case, this seems wrong way to fix the problem?

Copy link
Member

@Youssef1313 Youssef1313 Oct 10, 2024

Choose a reason for hiding this comment

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

Small note here, FindFirstDescendent from Uno.UI is both Uno + WinAppSDK (when Uno.WinUI package is referenced) (but not available in Windows UWP)

https://github.com/unoplatform/uno/blob/9450602cda0194514512ba9572dfc7f745fdfae0/src/Uno.UI.Toolkit/Uno.UI.Toolkit.Windows.csproj#L31-L36

src/Uno.Toolkit.RuntimeTests/Tests/AncestorBindingTests.cs Outdated Show resolved Hide resolved
@vatsashah45
Copy link
Contributor Author

Closing this PR, please refer to this new PR instead

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