question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WinUI 3 & Reunion 0.5 error: Microsoft C++ exception: winrt::hresult_error at memory location 0x..... when NavigationView is using

See original GitHub issue

Describe the bug: Impossible to use NavigationView component in WinUI 3 and Project Reunion 0.5.

Steps to reproduce the bug: All you need to do for the bug reproducing, is to add NavigationView item to your XAML code:

  <NavigationView/>

Screenshots: image

Version Info

NuGet package version: WinUI 3 - Project Reunion 0.5

Windows app type:

UWP Win32
No Yes
Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2020 Update (19042) Yes
May 2020 Update (19041) Yes
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context I suppose, It’s the same error, that describes in this issue: #4790

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
anawishnoffcommented, Apr 27, 2021

Hi @LeftTwixWand, you should see a fix for this bug in the upcoming WinUI 3/Project Reunion 0.8 Preview, which you can expect soon. Thanks for filing this!

1reaction
LeftTwixWandcommented, Apr 14, 2021

When the exception caught by VS, press F5 and continue works for me.

So strange. In one project I can just skip the error, and it will work. But in another, any manipulations with a NavigationView also will throw an exception: Access violation reading location

Read more comments on GitHub >

github_iconTop Results From Across the Web

NavigationView gives an exception when it's the only thing ...
Exception thrown at 0x76C5A8B2 in ReunionTest.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00D7E290. The Output shows ...
Read more >
WinUI 3 Project Reunion 0.5 (March 2021) - Windows apps
When running a desktop app using F5, make sure that you are running the packaging project. Hitting F5 on the app project will...
Read more >
Windows UI Library 3 - Project Reunion 0.5 Preview ...
This preview of WinUI 3 works with both desktop/Win32 and UWP apps, and includes Visual Studio project templates to help get started building ......
Read more >
WinUI 3 Project Reunion 0.8 Preview (April 2021)
Windows UI Library (WinUI) 3 is a native user experience (UX) framework for ... at memory location 0x... when NavigationView is being used....
Read more >
About an exception during running the example for WinUI ...
But, when I run the built example, I got "Unhandled exception" as can be seen in the attached image. I have run the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found