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

[Bug] UWP Shell Crashes in Xamarin Forms 4.7 #11505

Closed
scottkuhl opened this issue Jul 22, 2020 · 4 comments · Fixed by #12954
Closed

[Bug] UWP Shell Crashes in Xamarin Forms 4.7 #11505

scottkuhl opened this issue Jul 22, 2020 · 4 comments · Fixed by #12954

Comments

@scottkuhl
Copy link

Description

After upgrading a very basic test app from Xamarin Forms 4.5 to 4.7, the Shell now crashes on start.

Invalid pointer

Cannot find a resource with the given key: ShellNavigationView.

Steps to Reproduce

  1. Create a new Blank Xamarin Forms app with UWP support.
  2. Enable experimental shell support in the UWP project.
  3. Follow this steps in the sample: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/shell/create
  4. Run the UWP project.

Basic Information

  • Version with issue: 4.7.0.1142

  • Last known good version: 4.5.0.495

  • IDE: Visual Studio 2019 Version 16.6.5

  • Platform Target Frameworks:

    • UWP: 17763
  • Nuget Packages:

Reproduction Link

https://github.com/scottkuhl/Xamarin-Forms-UWP-Shell-Bug

@scottkuhl scottkuhl added s/unverified New report that has yet to be verified t/bug 🐛 labels Jul 22, 2020
@PureWeen
Copy link
Contributor

@scottkuhl If you set your target to 18362 does that fix?

@scottkuhl
Copy link
Author

Yes, that does fix the issue. Is 1903 a requirement for Shell on Windows? Or this is just a bug?

@PureWeen
Copy link
Contributor

@scottkuhl I would say it's a bug

The NavigationView that shell is based on works on version 1809 (SDK 17763) so it should work with the target frameworks you've specified

@PureWeen PureWeen added a/shell 🐚 and removed s/unverified New report that has yet to be verified labels Jul 22, 2020
@PureWeen PureWeen added this to Backlog in Shell via automation Jul 22, 2020
@PureWeen PureWeen moved this from Backlog to To Do UWP (blockers) in Shell Jul 22, 2020
@samhouts samhouts added this to To do in Sprint 173 via automation Jul 22, 2020
@samhouts samhouts added 4.7.0 regression on 4.7.0 i/regression labels Jul 22, 2020
@samhouts samhouts added this to To do in Sprint 174 Jul 27, 2020
@samhouts samhouts moved this from To do to Continued in next sprint in Sprint 173 Jul 27, 2020
@samhouts samhouts added this to the 4.7.0 milestone Aug 4, 2020
@samhouts samhouts added this to To do in 4.7.0 Aug 4, 2020
@ksang77
Copy link

ksang77 commented Aug 13, 2020

having the same issue on UWP startup after i upgraded xamarin form from 3.4.0.1008975 to 4.8.0.1269, unfortunately VS2017 forced the UWP project to use 17763 even i changed to 18362 by editing the project file backdoor.

@samhouts samhouts modified the milestones: 4.7.0, 4.8.0 Aug 13, 2020
@samhouts samhouts added this to To do in vCurrent (4.8.0) Aug 13, 2020
@samhouts samhouts removed this from To do in 4.7.0 Aug 13, 2020
@samhouts samhouts added this to To do in Sprint 175 Aug 17, 2020
@samhouts samhouts moved this from To do to Continued in next sprint in Sprint 174 Aug 17, 2020
@samhouts samhouts added this to To do in Sprint 176 Sep 8, 2020
@PureWeen PureWeen added this to To do in vNext+1 (5.0.0) via automation Nov 6, 2020
@PureWeen PureWeen modified the milestones: 4.8.0, 5.0.0 Nov 6, 2020
@PureWeen PureWeen removed this from To do in vCurrent (4.8.0) Nov 6, 2020
@PureWeen PureWeen removed the 4.7.0 regression on 4.7.0 label Nov 6, 2020
@PureWeen PureWeen moved this from To do to In Progress in vNext+1 (5.0.0) Nov 24, 2020
Shell automation moved this from To Do UWP (blockers) to Done Nov 27, 2020
vNext+1 (5.0.0) automation moved this from In Progress to Done Nov 27, 2020
rmarinho pushed a commit that referenced this issue Nov 27, 2020
* Add Shell Resource file

* - fix version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Shell
  
Done
Sprint 173
  
Continued in next sprint
Sprint 174
  
Continued in next sprint
Sprint 175
  
To do
Sprint 176
  
To do
Development

Successfully merging a pull request may close this issue.

4 participants