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.

Microsoft C++ exception: winrt::hresult_error at memory location

See original GitHub issue

Describe the bug

I encounter the exception while hitting F5.

Steps to reproduce the bug I added a single Page and hit F5.

Screenshots

image

Version Info

NuGet package version:

WinUI 3 Preview 3 Blank project.

image

csproj:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net5.0-windows10.0.18362.0</TargetFramework>
    <TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
    <RootNamespace>Weather.History.WinUI</RootNamespace>
    <ApplicationManifest>app.manifest</ApplicationManifest>
    <Platforms>x86;x64;arm64</Platforms>
    <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
  </PropertyGroup>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sigmarssoncommented, Dec 4, 2020

Yes, it Is the same as #3741

Pkg project is the startup project. Issue evolves in #3741

0reactions
stevenbrixcommented, Dec 3, 2020

We require the packaging project at the moment, but it’s a point-in-time thing.

Is this the same as #3741?

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to find out what is causing "cv::Exception at memory ...
First-chance exception at 0x7580b9bc in xxx.exe: Microsoft C++ exception: cv::Exception at memory location 0x00c1c624.
Read more >
How to find out what is causing an exception - Microsoft Q&A
I've got a program that I am running with the VS debugger, and I am getting a number of exceptions like this:
Read more >
_com_error at memory location 0x00BCF818 due to ...
I am unable to get the desired output out of the code due to a series of exceptions starting with the following. Exception...
Read more >
How to fix 'Cannot locate resource from 'ms-appx:// ...
How to fix 'Cannot locate resource from 'ms-appx:///GuidePage.xaml' and Microsoft C++ exception: winrt::hresult_error at memory location ...
Read more >
Error handling with C++/WinRT - UWP applications
The winrt::hresult_error::to_abi function on the other hand converts to a COM error object, and pushes state into the COM thread-local storage.
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