You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/develop/camera/camera-quickstart-winui3.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ The code in this walkthrough is adapted from the [MediaCapture WinUI sample on g
21
21
## Prerequisites
22
22
23
23
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
24
-
- Visual Studio 2022 or later with the **WinUI application development** workload.
24
+
- Visual Studio 2026 or later with the **WinUI application development** workload.
25
25
26
26
## Create a new WinUI app
27
27
28
-
In Visual Studio, create a new project. In the **Create a new project** dialog, set the language filter to "C#" and the platform filter to "Windows", then select the "Blank App, Packaged (WinUI in desktop)" project template.
28
+
In Visual Studio, create a new project. In the **Create a new project** dialog, set the language filter to "C#" and the platform filter to "Windows", then select the "WinUI Blank App (Packaged)" project template.
Copy file name to clipboardExpand all lines: hub/apps/develop/composition/composition-effects.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ This quick start tutorial shows you how to make use of some of the basic capabil
137
137
### Creating a new project
138
138
139
139
- Go to **File** > **New** > **Project**.
140
-
- Select the **Blank App, Packaged (WinUI 3 in Desktop)** template, or choose **Blank App, Unpackaged (WinUI 3 in Desktop)**if that better matches your app model.
140
+
- Select the **WinUI Blank App (Packaged)**template.
Copy file name to clipboardExpand all lines: hub/apps/develop/feeds/implement-feed-provider-win32.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ To implement a feed provider using C++/WinRT, see [Implement a feed provider in
18
18
## Prerequisites
19
19
20
20
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
21
-
- Visual Studio 2022 or later with the **Universal Windows Platform development** workload. Make sure to add the component for C++ (v143) from the optional dropdown.
21
+
- Visual Studio 2026 or later with the **WinUI application development** workload. Make sure to add the component for C++ (v143) from the optional dropdown.
Copy file name to clipboardExpand all lines: hub/apps/develop/platform/csharp-winrt/authoring.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.localizationpriority: medium
11
11
> [!NOTE]
12
12
> Authoring Windows Runtime components with C#/WinRT is supported on .NET 6 and later.
13
13
14
-
The C#/WinRT NuGet package provides support for authoring your own Windows Runtime types and components in C#, and consuming them from any Windows Runtime-compatible language such as [C++/WinRT](/windows/uwp/cpp-and-winrt-apis/) or [Rust](../../../../dev-environment/rust/rust-for-windows.md). C#/WinRT authoring and hosting support requires .NET 6 and Visual Studio 2022, and it is intended to support desktop application scenarios including the [Windows App SDK](../../../windows-app-sdk/index.md), and [WinUI3](../../../winui/winui3/index.md).
14
+
The C#/WinRT NuGet package provides support for authoring your own Windows Runtime types and components in C#, and consuming them from any Windows Runtime-compatible language such as [C++/WinRT](/windows/uwp/cpp-and-winrt-apis/) or [Rust](../../../../dev-environment/rust/rust-for-windows.md). C#/WinRT authoring and hosting support requires .NET 6 and Visual Studio 2026, and it is intended to support desktop application scenarios including the [Windows App SDK](../../../windows-app-sdk/index.md), and [WinUI3](../../../winui/winui3/index.md).
15
15
16
16
For a walkthrough showing how to author a Windows Runtime component with .NET 6, and how to consume it from a C++/WinRT console application, see [Walkthrough: Create a C#/WinRT component and consume it from C++/WinRT](./create-windows-runtime-component-cswinrt.md).
-[Windows App SDK VSIX](../../../windows-app-sdk/downloads.md) (1.1 from the stable channel)
24
24
@@ -108,11 +108,11 @@ This walkthrough requires the following tools and components:
108
108
109
109
## Reference the component from a Windows App SDK C++/WinRT app
110
110
111
-
The following steps show how to consume the component created from the previous section from a C++/WinRT Windows App SDK application. Consuming a C#/WinRT component from C++ currently requires using the single-project **Blank App, Packaged (WinUI in Desktop)** template. Note that C# components can also be referenced from C# packaged apps without class registrations.
111
+
The following steps show how to consume the component created from the previous section from a C++/WinRT Windows App SDK application. Consuming a C#/WinRT component from C++ currently requires using the single-project **WinUI Blank App (Packaged)** template. Note that C# components can also be referenced from C# packaged apps without class registrations.
112
112
113
113
Consumption from packaged apps that use a separate **Windows Application Packaging (WAP)** project is not currently supported. See [Authoring C#/WinRT components](https://github.com/microsoft/CsWinRT/blob/master/docs/authoring.md) in the C#/WinRT GitHub repo for the latest updates on supported project configurations.
114
114
115
-
1. Add a new C++ Windows App SDK application project to your solution. Right-click on your solution in Visual Studio, and select **Add** > **New Project**. Select the C++ **Blank App, Packaged (WinUI in Desktop)** template provided by the Windows App SDK. For this walkthrough, we named the app **CppApp**.
115
+
1. Add a new C++ Windows App SDK application project to your solution. Right-click on your solution in Visual Studio, and select **Add** > **New Project**. Select the C++ **WinUI Blank App (Packaged)** template provided by the Windows App SDK. For this walkthrough, we named the app **CppApp**.
116
116
117
117
1. Add a project reference from the C++ app to the C# component. In Visual Studio, right-click on the C++ project and choose **Add** > **Reference**, and select the **WinUIComponentCs** project.
118
118
@@ -171,7 +171,7 @@ Consumption from packaged apps that use a separate **Windows Application Packagi
171
171
</StackPanel>
172
172
```
173
173
174
-
1. Set **CppApp** as the startup project—right-click on **CppApp**, and select **Set as Startup Project**. Set the solution configuration to `x86`. Before building, you might also need to retarget your solution to build with the Visual Studio 2022 build tools. Right-click on the solution, select **Retarget solution**, and upgrade the Platform Toolset to **v143**.
174
+
1. Set **CppApp** as the startup project—right-click on **CppApp**, and select **Set as Startup Project**. Set the solution configuration to `x86`. Before building, you might also need to retarget your solution to build with the Visual Studio 2026 build tools. Right-click on the solution, select **Retarget solution**, and upgrade the Platform Toolset to **v143**.
175
175
176
176
1. Build and run the app to see the custom **NameReporter** control.
0 commit comments