--- lang: ja-jp breaks: true --- # `microsoft/WindowsAppSDK` をビルドする 2022-06-25 https://github.com/microsoft/WindowsAppSDK ## 証明書を生成 `Developer Command Prompt for VS 2022 Preview`を管理者として実行し、`tools\DevCheck.cmd`を実行する。 ```shell= D:\xxxxxxxx\WindowsAppSDK>tools\DevCheck.cmd Checking developer environment... Windows App SDK location...D:\xxxxxxxx\WindowsAppSDK VisualStudio 2019...C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional Test certificate thumbprint D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.thumbprint...Not Found Creating test certificate. Please enter a password: a Create D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.cer...OK Create D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.pfx...OK Create D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.pwd...OK Create D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.thumbprint...OK Test certificate D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.thumbprint thumbprint F53ACED65C255025FD17608F1C27275FCB93F692...Not Found Install test certificate D:\xxxxxxxx\WindowsAppSDK\.user\winappsdk.certificate.test.cer...OK TAEF service...Not Installed Install TAEF service...OK Start TAEF service...OK 2 issue(s) detected ``` :::info 管理者として実行することがポイント! ::: ## `build_all.cmd` を実行 ###### tags: `WinUI` `WindowsAppSDK` `Windows App SDK`