|
1 | 1 | --- |
2 | | -uid: DevTKSS.Setup.DevelopmentEnvironment.en |
| 2 | +uid: DevTKSS.Uno.Setup.DevelopmentEnvironment.en |
3 | 3 | --- |
| 4 | +<!--markdownlint-disable MD028 MD041--> |
| 5 | +## How To: Set Up Your Development Environment for Uno Platform Apps |
4 | 6 |
|
5 | | -# How To: Setup your Development Environment for Uno Apps |
| 7 | +In the following, we will look together at how to easily set up the development environment for application development with Uno Platform, or rather, how the Command Line Interface (**CLI**) tool `dotnet tool uno-check` can take care of this routine task for us. |
6 | 8 |
|
7 | | -To setup your Development Environment for Uno Apps, please make sure, to follow the [Quick Start Guide](https://platform.uno/docs/articles/get-started.html) provided by Uno Platform which will include: |
| 9 | +> [!TIP] |
| 10 | +> Since the v6 release of Uno (SDK & Extension), this is already included in the Visual Studio Uno Platform extension from the start! |
8 | 11 |
|
9 | | -- Download latest dotnet |
10 | | -- Install your desired IDE |
| 12 | +> [!TIP] |
| 13 | +> If you have problems running the tool, you can find the associated [Official Guide to Uno-Check from Uno Platform](https://platform.uno/docs/articles/external/uno.check/doc/using-uno-check.html) here. |
11 | 14 |
|
12 | | - > [!NOTE] |
13 | | - > I will use Visual Studio 2022 Community Edition for the Guides described in here. |
| 15 | +### Video Tutorial |
14 | 16 |
|
15 | | -- Get the Uno Extension from the Visual Studio Marketplace |
16 | | -- Install Uno.Check via your Commandline: `dotnet tool install -g Uno.Check` |
17 | | -- Run `uno-check` which will suggest you to get or fix missing Workloads for you, to ensure a smooth start unto development every day. |
| 17 | +> [!NOTE] |
| 18 | +> This video is currently only available in German, but transcriptions have been added to the video description, which should be usable through YouTube's auto-translate feature. You can also enable auto-translated subtitles in YouTube to follow along in your preferred language. |
18 | 19 |
|
19 | | - > [!NOTE] |
20 | | - > There are configurations available to be applied onto the uno-check command. You can research them in the [Uno.Check Documentation](https://platform.uno/docs/articles/external/uno.check/doc/configuring-uno-check.html) or get them in your Commandline by typing `uno-check -h` |
| 20 | + |
21 | 21 |
|
22 | | -- In case, you run in Problems while this, make sure to check out the [Troubleshooting](https://platform.uno/docs/articles/external/uno.check/doc/troubleshooting-uno-check.html) |
| 22 | +> [!NOTE] |
| 23 | +> The most up-to-date guide for getting started with Uno Platform can always be found in the official [Quick Start Guide](https://platform.uno/docs/articles/get-started.html). |
23 | 24 |
|
24 | | -All done? Great! |
| 25 | +--- |
| 26 | + |
| 27 | +### Step-by-Step Setup Guide |
| 28 | + |
| 29 | +1. **Choose and install your preferred IDE** |
| 30 | + |
| 31 | + > [!NOTE] |
| 32 | + > This guide uses Visual Studio 2022 Community Edition. If you work with Rider or Visual Studio Code, please refer to the previously linked Quick Start Guide for any differences! |
| 33 | +
|
| 34 | + [Official Visual Studio Installation Page - also VS Code](https://visualstudio.microsoft.com) |
| 35 | + |
| 36 | + **IDE**: Integrated Development Environment |
| 37 | + |
| 38 | +2. **Install the Uno Platform Extension** |
| 39 | + |
| 40 | + Available in the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=nventive.unoplatform) |
| 41 | + |
| 42 | +3. **Install `Uno.Check` via the Command Line** |
| 43 | + |
| 44 | + ```bash |
| 45 | + dotnet tool install -g Uno.Check |
| 46 | + ``` |
| 47 | + |
| 48 | +4. **Run `Uno.Check` to verify your environment** |
| 49 | + |
| 50 | + Either via the terminal you used before: |
25 | 51 |
|
26 | | -I recommend you to do at least the [Counter Workshop](https://platform.uno/docs/articles/getting-started/counterapp/get-started-counter.html) to get a base understanding of: |
| 52 | + ```bash |
| 53 | + uno-check |
| 54 | + ``` |
27 | 55 |
|
28 | | -- Application Structure |
29 | | -- Assets (Images/Icons) handling with Uno.Resizetizer |
30 | | -- Commands and Bindings |
| 56 | + Or as mentioned earlier, since version 6 of the Visual Studio Extension from Uno Platform, we can already use `Uno.Check` automatically there in our IDE. So whenever we open our solution, it runs automatically, or we can also trigger it manually in the Extensions drop-down menu in Visual Studio > Uno Platform > `Run Uno.Check`. It then checks which target devices we have specified in our project file and verifies all the necessary installations for existence, but also whether we are working with the latest available versions. This is especially helpful when bug fixes have taken place and of course also when there was a new major release. |
31 | 57 |
|
32 | | - > [!TIP] |
33 | | - > Depending on the targeted Tutorial you would like to do in here, you should coose the appropriate kind of the workshop, as it is letting you choose between XAML or C# for Markup and MVVM or MVUX as Presentation / Application Structure. |
| 58 | +  |
34 | 59 |
|
35 | | -See you soon in the nested Tutorials here! |
| 60 | +### Configuration Options for Uno Check |
| 61 | + |
| 62 | +If you only want to develop your applications for specific `targets`, i.e. target devices, and therefore don't need all other workloads, for example for the [XamlNavigation Tutorial](./Navigation/Extensions-Navigation-en.md) |
| 63 | + |
| 64 | +> [!TIP] |
| 65 | +> To get an overview of the available commands, configurations and optional associated parameters, you can type `uno-check -h` in the terminal. |
| 66 | +
|
| 67 | +> [!NOTE] |
| 68 | +> You can find more information about configuration options in the [Uno.Check Documentation](https://platform.uno/docs/articles/external/uno.check/doc/configuring-uno-check.html)! |
| 69 | +
|
| 70 | +### **Problems During Setup?** |
| 71 | + |
| 72 | +Check out the [Troubleshooting Guide](https://platform.uno/docs/articles/external/uno.check/doc/troubleshooting-uno-check.html). |
| 73 | + |
| 74 | +--- |
| 75 | + |
| 76 | +### Next Steps |
| 77 | + |
| 78 | +Once your environment is set up, in addition to the tutorials here, you can also start with the [Counter Workshop](https://platform.uno/docs/articles/getting-started/counterapp/get-started-counter.html) and learn these basics: |
| 79 | + |
| 80 | +- The structure of an Uno app |
| 81 | +- Handling assets (images/icons) via **`Uno.Resizetizer`** |
| 82 | +- Using commands and bindings |
| 83 | + |
| 84 | +--- |
0 commit comments