Application in Break Mode

srfpala 111 Reputation points
2022-06-08T17:32:26.95+00:00

Using VS2022 Community Edition Win10 64 bit on a WinUI 3 Project
Code compiles clean and Rebuild Succeeds
Execution goes into Break mode with this error
System.DllNotFoundException: 'Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)'

----------------------------------------------------------------------------

But Microsoft.ui.xaml.dll was downloaded and copied into
C:\Windows\SysWOW64 and into C:\Windows\System32

Any ideas as to what I should do ?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,826 Reputation points
    2022-06-08T18:22:59.863+00:00

    But Microsoft.ui.xaml.dll was downloaded and copied into
    C:\Windows\SysWOW64 and into C:\Windows\System32

    You must not do that.
    Microsoft.ui.xaml.dll is installed with the Windows App SDK Runtimes (downloads)
    and has many dependencies