Windows App Runtime をインストールする

Windows App SDK を利用して作成したアプリの場合、Windows App Runtimeが必要になります。
この記事では、Windows App Runtime をインストールする手順を紹介します。

手順:ランタイムのインストーラーをダウンロードする方法

Windows App SDK のダウンロードページ(https://learn.microsoft.com/ja-jp/windows/apps/windows-app-sdk/downloads)にアクセスします。
下図のページが表示されます。
Windows App Runtime をインストールする:画像1

ページ内の、[ランタイムのダウンロード]のインストーラーのリンクをクリックします。今回は、最新バージョンのWindows App ランタイムをインストールしますので、 [1.6.2 (1.6.241106002)] の [インストーラー (x64)] のリンクをクリックします。

Windows App Runtime をインストールする:画像2

インストーラーがダウンロードできました。ダブルクリックして実行します。
Windows App Runtime をインストールする:画像3

コマンドウィンドウが開かれ、ランタイムがインストールされます。
Windows App Runtime をインストールする:画像4

以上でインストールは完了です。

手順:アプリの起動時にインストールする方法

Windows App SDKを利用するアプリを起動した際に、下図のダイアログが表示されます。

メッセージ
This application requires the Winodws App Runtime Version x.x
Do you want to install a compatible Windows App Runtime now?


[はい]ボタンをクリックすると、Windows App Runtime をインストールできます。

Windows App Runtime をインストールする:画像5

AuthorPortraitAlt
著者
iPentecのメインプログラマー
C#, ASP.NET の開発がメイン、少し前まではDelphiを愛用
作成日: 2024-11-17
Copyright © 1995–2025 iPentec all rights reserverd.