Blank App, Packaged (WinUI in Desktop) C++ does not start

0

I have created a new Blank App, Packaged (WinUI in Desktop) C++ application with the template wizard, but when starting, it exits with this exception:

D:\a\1\s\dev\MRTCore\mrt\Core\src\MRM.cpp(276)\MRM.dll!00007FF998ED350A: (caller: 00007FF998ED4F03) ReturnHr(1) tid(4ae4) 80073B17 NamedResource non trovato.
D:\a\1\s\dev\MRTCore\mrt\Core\src\MRM.cpp(403)\MRM.dll!00007FF998ED4F21: (caller: 00007FF9BC5FB242) ReturnHr(2) tid(4ae4) 80073B17 NamedResource non trovato.
D:\a\1\s\dev\MRTCore\mrt\Core\src\MRM.cpp(755)\MRM.dll!00007FF998ED51AA: (caller: 00007FF9BC5FB242) ReturnHr(3) tid(4ae4) 80073B17 NamedResource non trovato.
Exception thrown at 0x00007FFA1639D759 (KernelBase.dll) in App2_x64d.exe: WinRT originate error - 0x80073B17 : 'NamedResource non trovato.'.
Exception thrown at 0x00007FFA1639D759 in App2_x64d.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000034BFAFE560.

at this location (Microsoft.UI.Xaml.h ilne 12900):

inline auto Application::Start(Microsoft::UI::Xaml::ApplicationInitializationCallback const& callback)
{
    impl::call_factory<Application, IApplicationStatics>([&](IApplicationStatics const& f) { return f.Start(callback); });
}

I am using:

Windows 10 Pro
Version 20H2
Build 19042.782
VS2019 Version 16.9.0 Preview 3.0

The same new Blank App, Packaged (WinUI in Desktop) C# application created with the template wizard works fine.
Maybe the C++ template is missing something, but the stack trace does not help me.

c++
winui
winui-3

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0