WinUI3 application crashing | Microsoft.ui.xaml.dll no found

Muhammad Humam Khan 26 Reputation points
2022-06-14T15:54:49.28+00:00

Why am i getting this error when trying to build a WinUI3 application in visual studio 2022

Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

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.
711 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,387 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 81,061 Reputation points
    2022-06-14T16:33:13.187+00:00

    Is it Packaged or Unpackaged ( <WindowsPackageType>None</WindowsPackageType> in csproj)

    Did you install the Runtimes, from Current releases ?
    (same version as NuGet Package for the app)


0 additional answers

Sort by: Most helpful