question

srfpala avatar image
0 Votes"
srfpala asked JunjieZhu-MSFT commented

Application in Break Mode

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered JunjieZhu-MSFT commented

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




· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I think I should remove Windows-App SDK using Powershell and then run
WindowsAppRuntimeInstall then
WindowsAppSDK.Cs.Extension..Standalone

Suggestions ?

0 Votes 0 ·

Is the problem resolved after installing Windows App SDK Runtimes?

0 Votes 0 ·
srfpala avatar image srfpala JunjieZhu-MSFT ·

Downloaded 1.1 Installer (x64)
Ran WindowsAppRuntimeInstall.exe Which launched and
may have run within a DOS window – some statements appeared and the DOS window disappeared leaving no messages.
This may be normal….. but seems strange.
How would I know that it is correctly installed ???
Is there a test I can run ?
Bob

0 Votes 0 ·
Show more comments