Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Fixing Popup Uwp Release Compilation Crash #1303

Merged

Conversation

inforithmics
Copy link
Contributor

@inforithmics inforithmics commented May 16, 2021

Description of Change

Changes the NavigationExtensions.uwp.cs to avoid a UWP Native Compilation Bug.

Bugs Fixed

API Changes

None

Behavioral Changes

Native Compiled UWP Apps Work with Popups

PR Checklist

  • Has a linked Issue, and the Issue has been approved

  • Has tests (if omitted, state reason in description)
    Bug only happens during Release can be reproduced by changing compilation to Release in Samples project and execute
    the Popup samples.

  • Has samples (if omitted, state reason in description)
    Has already Popup samples.

  • Rebased on top of main at time of PR

  • Changes adhere to coding standard

  • Updated documentation
    Is only a Bug fix.

@inforithmics
Copy link
Contributor Author

inforithmics commented May 17, 2021

@AndreiMisiukevich I changed it as in Xamarin.Forms. it looks now cleaner.

@AndreiMisiukevich AndreiMisiukevich requested a review from pictos May 18, 2021 23:43
@AndreiMisiukevich
Copy link
Contributor

for me it looks good. But I can't test on UWP

SkyeHoefling
SkyeHoefling previously approved these changes Jun 7, 2021
Copy link
Contributor

@SkyeHoefling SkyeHoefling left a comment

Choose a reason for hiding this comment

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

The code looks good to me but we need to certify the following works

I can confirm that XCT Samples Project in this repo is working after cloning this branch. I still need to test the other project.

@inforithmics
Copy link
Contributor Author

@jfversluis Can this be merged? Without this UWP Store Apps won't work with Popup.

@phandcock
Copy link

@jfversluis Can this be merged? Without this UWP Store Apps won't work with Popup.

Opps, I misread the original post. It would be great if this fix was merged. I am using a previous workaround to issue #1251 (1.1.0-preview2508) and I would love to get back on the main release again.

@TheCodeTraveler TheCodeTraveler merged commit 529b72d into xamarin:main Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Compiling XCT-Popups-Samples causes a Invalid Cast Exception in UWP Native Compilation
7 participants