From c8259142a2d2d904ed36225ca5dee51abbf04ee9 Mon Sep 17 00:00:00 2001 From: Alexander Sklar Date: Tue, 22 Jun 2021 08:46:07 -0700 Subject: [PATCH 1/3] Update host-standard-control-with-xaml-islands-cpp.md --- .../modernize/host-standard-control-with-xaml-islands-cpp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md index 34e24b506d..16cb178453 100644 --- a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md +++ b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md @@ -33,10 +33,10 @@ This article demonstrates how to use the [UWP XAML hosting API](using-the-xaml-h 4. On the **Browse** tab of the **NuGet Package Manager** window, search for the [Microsoft.Toolkit.Win32.UI.SDK](https://www.nuget.org/packages/Microsoft.Toolkit.Win32.UI.SDK) NuGet package and install the latest stable version of this package. This package provides several build and run time assets that enable XAML Islands to work in your app. -5. Set the `maxVersionTested` value in your [application manifest](/windows/desktop/SbsCs/application-manifests) to specify that your application is compatible with Windows 10, version 1903 or later. +5. Set the `maxversiontested` value in your [application manifest](/windows/desktop/SbsCs/application-manifests) to specify that your application is compatible with Windows 10, version 1903. 1. If you don't already have an application manifest in your project, add a new XML file to your project and name it **app.manifest**. - 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxVersionTested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362 or a later release). + 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxversiontested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362.0 or a later release). Note that setting a higher value means older versions of Windows won't run the app properly as every Windows release only knows of versions before it, so if you want the app to run on 18362, you should either leave the 10.0.18362.0 value as is, or add multiple **maxversiontested** elements for the different values the app supports. ```xml From 527ad0b66b632d312fcec6d247dd445b76b1d369 Mon Sep 17 00:00:00 2001 From: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:19:07 -0700 Subject: [PATCH 2/3] Minor edit --- .../modernize/host-standard-control-with-xaml-islands-cpp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md index 16cb178453..c832471747 100644 --- a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md +++ b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md @@ -36,7 +36,7 @@ This article demonstrates how to use the [UWP XAML hosting API](using-the-xaml-h 5. Set the `maxversiontested` value in your [application manifest](/windows/desktop/SbsCs/application-manifests) to specify that your application is compatible with Windows 10, version 1903. 1. If you don't already have an application manifest in your project, add a new XML file to your project and name it **app.manifest**. - 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxversiontested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362.0 or a later release). Note that setting a higher value means older versions of Windows won't run the app properly as every Windows release only knows of versions before it, so if you want the app to run on 18362, you should either leave the 10.0.18362.0 value as is, or add multiple **maxversiontested** elements for the different values the app supports. + 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxversiontested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362.0 or a later release). Note that setting a higher value means older versions of Windows won't run the app properly because every Windows release only knows of versions before it. If you want the app to run on 18362, you should either leave the 10.0.18362.0 value as is, or add multiple **maxversiontested** elements for the different values the app supports. ```xml From 6eab0afb3d41371448a05a7c20930c42093ff342 Mon Sep 17 00:00:00 2001 From: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:22:20 -0700 Subject: [PATCH 3/3] Another minor edit --- .../modernize/host-standard-control-with-xaml-islands-cpp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md index c832471747..090996ca38 100644 --- a/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md +++ b/hub/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp.md @@ -19,7 +19,7 @@ This article demonstrates how to use the [UWP XAML hosting API](using-the-xaml-h ## Create a desktop application project -1. In Visual Studio 2019 with the Windows 10, version 1903 SDK (version 10.0.18362) or a later release installed, create a new **Windows Desktop Application** project and name it **MyDesktopWin32App**. This project type is available under the **C++**, **Windows**, and **Desktop** project filters. +1. In Visual Studio 2019 with the Windows 10, version 1903 SDK (build 10.0.18362) or a later release installed, create a new **Windows Desktop Application** project and name it **MyDesktopWin32App**. This project type is available under the **C++**, **Windows**, and **Desktop** project filters. 2. In **Solution Explorer**, right-click the solution node, click **Retarget solution**, select the **10.0.18362.0** or a later SDK release, and then click **OK**. @@ -36,7 +36,7 @@ This article demonstrates how to use the [UWP XAML hosting API](using-the-xaml-h 5. Set the `maxversiontested` value in your [application manifest](/windows/desktop/SbsCs/application-manifests) to specify that your application is compatible with Windows 10, version 1903. 1. If you don't already have an application manifest in your project, add a new XML file to your project and name it **app.manifest**. - 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxversiontested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362.0 or a later release). Note that setting a higher value means older versions of Windows won't run the app properly because every Windows release only knows of versions before it. If you want the app to run on 18362, you should either leave the 10.0.18362.0 value as is, or add multiple **maxversiontested** elements for the different values the app supports. + 2. In your application manifest, include the **compatibility** element and the child elements shown in the following example. Replace the **Id** attribute of the **maxversiontested** element with the version number of Windows 10 you are targeting (this must be 10.0.18362.0 or a later release). Note that setting a higher value means older versions of Windows won't run the app properly because every Windows release only knows of versions before it. If you want the app to run on Windows 10, version 1903 (build 10.0.18362), you should either leave the 10.0.18362.0 value as is, or add multiple **maxversiontested** elements for the different values the app supports. ```xml