--- lang: ja-jp breaks: true --- # WinUI 3 で、アプリケーション実行ファイルをダブルクリック起動しようとすると、`System.DllNotFoundException: 'Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: 指定されたモジュールが見つかりません。 (0x8007007E)'` とエラーが発生する。 2022-07-25 ![](https://i.imgur.com/QFeTWLV.png) > WinUI3 application crashing | Microsoft.ui.xaml.dll no found > https://docs.microsoft.com/en-us/answers/questions/889125/winui3-application-crashing-microsoftuixamldll-no.html ## csprojファイルに以下の設定を行うと正常に起動する。 ```xml= <PropertyGroup> <WindowsPackageType>None</WindowsPackageType> </PropertyGroup> ``` ###### tags: `WinUI 3` `WinUI` `DllNotFoundException` `Microsoft.ui.xaml.dll`