Skip to content

Commit 4c23203

Browse files
committed
docs: includes file changes
1 parent af80fc6 commit 4c23203

File tree

3 files changed

+31
-34
lines changed

3 files changed

+31
-34
lines changed

hub/apps/get-started/uno-setup.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Uno Setup Guide
3+
description: Learn how to reach users on other platforms like Web, iOS, Android, and Linux with minimal changes to the C#/WinUI 3 simple photo viewer built in the previous tutorial. We'll use Uno Platform to create a new multi-platform app, which we can move code from the existing desktop project to.
4+
ms.topic: article
5+
ms.date: 05/21/2023
6+
keywords: Windows, App, SDK, WinUI 3, WinUI, photo, viewer, Windows 11, Windows 10, XAML, C#, uno platform, uno
7+
ms.author: aashcraft
8+
author: alvinashcraft
9+
ms.localizationpriority: medium
10+
---
11+
12+
## Finalize your environment
13+
14+
1. Open a command-line prompt, Windows Terminal if you have it installed, or else Command Prompt or Windows Powershell from the Start Menu.
15+
16+
2. Install the `uno-check` tool:
17+
- Use the following command:
18+
19+
`dotnet tool install -g uno.check`
20+
21+
- To update the tool, if you already have an existing one:
22+
23+
`dotnet tool update -g uno.check`
24+
25+
3. Run the tool with the following command:
26+
27+
`uno-check`
28+
29+
4. Follow the instructions indicated by the tool. Because it needs to modify your system, you may be prompted for elevated permissions.

hub/apps/get-started/uno-simple-photo-viewer.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,9 @@ After you've [created](/hub/apps/get-started/simple-photo-viewer-winui3.md) a st
2727
- .NET desktop development installed (for Gtk, Wpf, and Linux Framebuffer development)
2828
:::image type="content" source="../images/uno/uno-vs-install-dotnet.png" alt-text="dotnet desktop workload in VS":::
2929

30-
## Finalize your environment
3130

32-
1. Open a command-line prompt, Windows Terminal if you have it installed, or else Command Prompt or Windows Powershell from the Start Menu.
3331

34-
2. Install the `uno-check` tool:
35-
- Use the following command:
36-
37-
`dotnet tool install -g uno.check`
38-
39-
- To update the tool, if you already have an existing one:
40-
41-
`dotnet tool update -g uno.check`
42-
43-
3. Run the tool with the following command:
44-
45-
`uno-check`
46-
47-
4. Follow the instructions indicated by the tool. Because it needs to modify your system, you may be prompted for elevated permissions.
32+
[!INCLUDE [uno-setup.md](./uno-setup.md)]
4833

4934
## Install the Uno Platform solution templates
5035

hub/apps/how-tos/uno-multiplatform.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,7 @@ Once you've [created](hello-world-winui3.md) a starter Hello World WinUI 3 app,
2929
- .NET desktop development installed (for Gtk, Wpf, and Linux Framebuffer development)
3030
:::image type="content" source="../images/uno/uno-vs-install-dotnet.png" alt-text=".net desktop workload in VS":::
3131

32-
## Finalize your environment
33-
34-
1. Open a command-line prompt, Windows Terminal if you have it installed, or else Command Prompt or Windows Powershell from the Start Menu.
35-
36-
2. Install the `uno-check` tool:
37-
- Use the following command:
38-
39-
`dotnet tool install -g uno.check`
40-
41-
- To update the tool, if you already have an existing one:
42-
43-
`dotnet tool update -g uno.check`
44-
45-
3. Run the tool with the following command:
46-
47-
`uno-check`
48-
49-
4. Follow the instructions indicated by the tool. Because it needs to modify your system, you may be prompted for elevated permissions.
32+
[!INCLUDE [uno-setup.md](../get-started/uno-setup.md)]
5033

5134
## Install the Uno Platform solution templates
5235

0 commit comments

Comments
 (0)