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: docs/android/emulator/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,22 +44,22 @@ Common actions can be performed in the emulator via its panel on the right hand
44
44
45
45
The following gestures can be simulated in the emulator:
46
46
47
-
| Gesture | Description |
48
-
|-------|-----------|
49
-
| Tap | Press and release the primary mouse button. |
50
-
| Double tap | Double-click and then release the primary mouse button. |
51
-
| Drag | Press and hold the primary mouse button, move the item, and then release. |
52
-
| Touch and hold | Press the primary mouse button, hold, and release. |
53
-
| Pinch | Press the CTRL key on Windows, or the Command key on macOS, to display a pinch gesture multi-touch interface. The mouse acts as the first finger, which can be moved by dragging the cursor. The second finger is across from the anchor point. Pressing the left mouse button simulates touching both points, and releasing simulates removing both points. |
54
-
| Swipe | Press and hold the primary mouse button, swipe, and then release. |
| Tap | Press and release the primary mouse button.|
50
+
| Double tap | Double-click and then release the primary mouse button.|
51
+
| Drag | Press and hold the primary mouse button, move the item, and then release. |
52
+
| Touch and hold | Press the primary mouse button, hold, and release. |
53
+
| Pinch | Press the Ctrl key on Windows or the Command key on macOS to display a pinch gesture multi-touch interface. The mouse acts as the first finger, which can be moved by dragging the cursor. The second finger is across from the anchor point. Pressing the left mouse button simulates touching both points, and releasing simulates removing both points. |
54
+
| Swipe | Press and hold the primary mouse button, swipe, and then release. |
55
55
| Vertical swipe | Open a vertical menu on the screen and use the mouse scroll wheel to scroll through the menu items. |
56
56
57
57
## Advanced emulator scenarios
58
58
59
59
You might want to test your app on a virtual device using more than just basic touch gestures. For example, you might want to simulate different network conditions. The following table lists where to find more information about advanced Android emulator scenarios:
60
60
61
-
| Scenarios | More information |
62
-
|-------|----------------|
61
+
| Scenarios | More information |
62
+
|----------------|------------------|
63
63
| Use the camera |[Camera support](https://developer.android.com/studio/run/emulator-use-camera) on developer.android.com |
64
64
| Install and add files |[Install and add files](https://developer.android.com/studio/run/emulator-install-add-files) on developer.android.com |
65
65
| Use Wi-Fi |[Wi-Fi](https://developer.android.com/studio/run/emulator-wifi) on developer.android.com |
Copy file name to clipboardExpand all lines: docs/android/emulator/mac-with-windows-vm.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ To connect to the Android Emulator running on a Mac from a Windows VM, by using
51
51
52
52
In this example, `127.0.0.1 5555` denotes the odd-numbered port on the loopback interface.
53
53
54
-
Provided that the `nc`command keeps running in a Terminal window, packets will be forwarded as expected. Once you've finished using the emulator, you can stop `nc` performing packet forwarding by pressing <kbd>CTRL+C</kbd> in the Terminal window.
54
+
Provided that the `nc`command keeps running in a Terminal window, packets will be forwarded as expected. Once you've finished using the emulator, you can stop `nc` performing packet forwarding by pressing <kbd>Ctrl+C</kbd> in the Terminal window.
55
55
56
56
1. In your Windows VM, open **Command Prompt**.
57
57
1. In **Command Prompt**, connect to the emulator:
@@ -63,7 +63,7 @@ To connect to the Android Emulator running on a Mac from a Windows VM, by using
63
63
Replace `ip-address-of-the-mac` in this example with the IP address of your Mac, and 5555 with the port you've used from the previous step.
64
64
65
65
> [!NOTE]
66
-
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
66
+
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
67
67
68
68
When the connection is completed Visual Studio will display the emulator as a debug target under **Android Local Devices**, which you can use to deploy your app to the emulator.
69
69
@@ -115,6 +115,6 @@ To connect to the Android Emulator running on a Mac from a Windows virtual machi
115
115
In this example, `localhost:15555` denotes the local port on Windows
116
116
117
117
> [!NOTE]
118
-
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
118
+
> Command line access to `adb` can be obtained in Visual Studio through the **Tools > Android > Android Adb Command Prompt...** menu item.
119
119
120
120
When the connection is completed Visual Studio will display the emulator as a debug target under **Android Local Devices**, which you can use to deploy your app to the emulator.
Copy file name to clipboardExpand all lines: docs/fundamentals/accessibility.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,13 +136,13 @@ The following example demonstrates setting this attached property:
136
136
<LabelText="Paragraphs of text go here." />
137
137
<LabelText="Installation"
138
138
SemanticProperties.HeadingLevel="Level2" />
139
-
<LabelText="Paragraphs of text go here." />
139
+
<LabelText="Paragraphs of text go here." />
140
140
<LabelText="Build your first app"
141
141
SemanticProperties.HeadingLevel="Level3" />
142
-
<LabelText="Paragraphs of text go here." />
142
+
<LabelText="Paragraphs of text go here." />
143
143
<LabelText="Publish your app"
144
144
SemanticProperties.HeadingLevel="Level4" />
145
-
<LabelText="Paragraphs of text go here." />
145
+
<LabelText="Paragraphs of text go here." />
146
146
```
147
147
148
148
Alternatively, it can be set in C#:
@@ -386,7 +386,7 @@ For alternative methods of enabling VoiceOver, see [Turn VoiceOver on or off on
386
386
387
387
### Enable Narrator
388
388
389
-
Narrator is the primary screen reader used on Windows. Narrator can be enabled by pressing the **Windows logo key** + **Ctrl** + **Enter** together. These keys can be pressed again to stop Narrator.
389
+
Narrator is the primary screen reader used on Windows. Narrator can be enabled by pressing the **Windows logo key** + **Ctrl** + **Enter** together. Press these keys again to stop Narrator.
390
390
391
391
For more information about Narrator, see [Complete guide to Narrator](https://support.microsoft.com/windows/complete-guide-to-narrator-e4397a0d-ef4f-b386-d8ae-c172f109bdb1).
Copy file name to clipboardExpand all lines: docs/get-started/first-app.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ In this tutorial, you'll create your first .NET MAUI app in Visual Studio Code o
242
242
243
243
:::image type="content" source="media/first-app/vscode/create-new-project.png" alt-text="Screenshot of the create new project button in Visual Studio Code.":::
244
244
245
-
Alternatively, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then the **.NET: New Project...** command.
245
+
Alternatively, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then the **.NET: New Project...** command.
246
246
247
247
1. In the command palette, select the **.NET MAUI App** template:
248
248
@@ -270,14 +270,14 @@ In this tutorial, you'll create your first .NET MAUI app in Visual Studio Code o
270
270
:::zone pivot="devices-android"
271
271
272
272
<!-- markdownlint-disable MD029 -->
273
-
7. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed.
273
+
7. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed.
274
274
<!-- markdownlint-enable MD029 -->
275
275
276
276
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to a specific Android emulator:
277
277
278
278
:::image type="content" source="media/first-app/vscode/android-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to an Android emulator.":::
279
279
280
-
You can also set the debug target by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and selecting **.NET MAUI: Pick Android Device** from the command palette.
280
+
You can also set the debug target by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and selecting **.NET MAUI: Pick Android Device** from the command palette.
281
281
282
282
1. Build and run the app on Android by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
283
283
@@ -302,14 +302,14 @@ To debug the app on an Android device:
302
302
:::zone pivot="devices-ios"
303
303
304
304
<!-- markdownlint-disable MD029 -->
305
-
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
305
+
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
306
306
<!-- markdownlint-enable MD029 -->
307
307
308
308
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to a specific iOS simulator:
309
309
310
310
:::image type="content" source="media/first-app/vscode/ios-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to an iOS simulator.":::
311
311
312
-
You can also set the debug target by pressing <kbd>CMD+SHIFT+P</kbd> and selecting **.NET MAUI: Pick iOS Device** from the command palette.
312
+
You can also set the debug target by pressing <kbd>Cmd+Shift+P</kbd> and selecting **.NET MAUI: Pick iOS Device** from the command palette.
313
313
314
314
1. Build and run the app on iOS by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
315
315
@@ -336,14 +336,14 @@ To debug the app on an iOS device:
336
336
:::zone pivot="devices-maccatalyst"
337
337
338
338
<!-- markdownlint-disable MD029 -->
339
-
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
339
+
7. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed.
340
340
<!-- markdownlint-enable MD029 -->
341
341
342
342
1. In the status bar at the bottom of Visual Studio Code, press on the curly brackets symbol **{ }** and ensure that the **Debug Target** is set to your Mac:
343
343
344
344
:::image type="content" source="media/first-app/vscode/mac-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to macOS.":::
345
345
346
-
You can also set the debug target by pressing <kbd>CMD+SHIFT+P</kbd> and selecting **.NET MAUI: Pick macOS Device** from the command palette.
346
+
You can also set the debug target by pressing <kbd>Cmd+Shift+P</kbd> and selecting **.NET MAUI: Pick macOS Device** from the command palette.
347
347
348
348
1. Build and run the app on macOS by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
349
349
@@ -364,7 +364,7 @@ To debug the app on an iOS device:
364
364
365
365
:::image type="content" source="media/first-app/vscode/windows-debug-target.png" alt-text="Screenshot of the debug target in Visual Studio Code set to Windows.":::
366
366
367
-
You can also set the debug target by pressing <kbd>CTRL+SHIFT+P</kbd> and selecting **.NET MAUI: Pick Windows Device** from the command palette.
367
+
You can also set the debug target by pressing <kbd>Ctrl+Shift+P</kbd> and selecting **.NET MAUI: Pick Windows Device** from the command palette.
368
368
<!-- markdownlint-enable MD029 -->
369
369
370
370
1. Build and run the app on Windows by pressing <kbd>F5</kbd> or by pressing the **Run** button in the upper right corner of Visual Studio Code:
Copy file name to clipboardExpand all lines: docs/get-started/installation.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ To download and install the Java SDK, and configure Visual Studio Code to use it
196
196
> [!NOTE]
197
197
> If you install the OpenJDK on Windows via MSI, you can opt into the installer setting the `JAVA_HOME` environmental variable.
198
198
199
-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Java SDK location** to set the Java SDK path at the user/workspace level.
199
+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Java SDK location** to set the Java SDK path at the user/workspace level.
200
200
1. Configure the Java SDK path in your .csproj file by setting the `$(JavaSdkDirectory)` MSBuild property to the OpenJDK path. This will define the Java SDK path at the project level.
201
201
202
202
#### Download and install the Android SDK
@@ -211,10 +211,10 @@ To download and install the Android SDK, and configure Visual Studio Code to use
211
211
212
212
1. Ensure that you've configured the path to the Android SDK via one of the following approaches:
213
213
1. Set the `ANDROID_HOME` environment variable to define the Android SDK path for your machine. This is the recommended approach, which defines the Android SDK path at the machine level.
214
-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Android SDK location** to set the Android SDK path at the user/workspace level.
214
+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then select **.NET MAUI: Configure Android**, followed by **Select Android SDK location** to set the Android SDK path at the user/workspace level.
215
215
1. Configure the Android SDK path in your .csproj file by setting the `$(AndroidSdkDirectory)` MSBuild property to the Android SDK path. This will define the Android SDK path at the project level.
216
216
217
-
1. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed:
217
+
1. In Visual Studio Code, verify that your Android environment is configured correctly by pressing <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, and then selecting **.NET MAUI: Configure Android**, followed by **Refresh Android environment**. Any detected errors must be addressed:
218
218
- In the command palette, select **.NET MAUI: Configure Android** followed by both **Select Android SDK location** and **Select Android SDK location** and validate that they correctly point to installations of each. On Windows, if you install the SDKs via Visual Studio, OpenJDK will be located at *C:\Program Files\Microsoft* and the Android SDK will be located at *C:\Program Files (x86)\Android\android-sdk*.
219
219
- Ensure that your Android SDK folder has sub-folders such as *build-tools*, *cmdline-tools*, and *platform-tools*.
220
220
- Ensure that your OpenJDK folder has sub-folders such as *bin*, *lib*, and more.
@@ -307,14 +307,14 @@ To set up your Mac for .NET MAUI development on iOS and Mac Catalyst with Visual
307
307
```
308
308
309
309
1. Launch Xcode and accept any license agreements. If simulators don't start installing, navigate to **Xcode > Settings > Components** and install your chosen simulator runtimes.
310
-
1. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>CMD+SHIFT+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed:
310
+
1. In Visual Studio Code, verify that your Apple environment is configured correctly by pressing <kbd>Cmd+Shift+P</kbd> and then selecting **.NET MAUI: Configure Apple**, followed by **Refresh Apple environment**. Any detected errors must be addressed:
311
311
- Ensure you've ran `xcode-select --install` in a terminal.
312
312
- If you receive an error that Xcode hasn't been found, run `xcode-select -p` in a terminal and check that it returns a path to your Xcode installation.
313
313
- Open Xcode to ensure it loads correctly, and then navigate to **Xcode > Settings > Location** and check that the **Command Line Tools** field is pointing to the correct Xcode installation.
314
314
315
315
## Troubleshooting
316
316
317
-
If you encounter issues when installing the .NET MAUI extension in Visual Studio Code, more information about the issues can be found by navigating to the **Output** window (<kbd>CTRL+SHIFT+U</kbd> on Windows or <kbd>CMD+SHIFT+U</kbd> on macOS) and selecting **.NET MAUI** in the drop-down.
317
+
If you encounter issues when installing the .NET MAUI extension in Visual Studio Code, more information about the issues can be found by navigating to the **Output** window (<kbd>Ctrl+Shift+U</kbd> on Windows or <kbd>Cmd+Shift+U</kbd> on macOS) and selecting **.NET MAUI** in the drop-down.
318
318
319
319
## Provide feedback
320
320
@@ -387,7 +387,7 @@ This walkthrough can also be accessed from the command palette. Select **Welcome
387
387
388
388
### Access the improved setup experience
389
389
390
-
1. In Visual Studio Code, press <kbd>CTRL+SHIFT+P</kbd> on Windows, or <kbd>CMD+SHIFT+P</kbd> on macOS, select **Preferences: Open Settings (UI)**.
390
+
1. In Visual Studio Code, press <kbd>Ctrl+Shift+P</kbd> on Windows, or <kbd>Cmd+Shift+P</kbd> on macOS, select **Preferences: Open Settings (UI)**.
391
391
392
392
:::image type="content" source="media/installation/vscode/settings.png" alt-text="Screenshot of the Visual Studio Code settings menu option.":::
To see details on errors related to xcsync, navigate to the **Output** window (<kbd>CMD + Shift + u </kbd>) and select **.NET MAUI - xcsync** in the drop-down. If you are facing issues, please [report an issue](#provide-feedback).
49
+
To see details on errors related to xcsync, navigate to the **Output** window (<kbd>Cmd + Shift + U</kbd>) and select **.NET MAUI - xcsync** in the drop-down. If you are facing issues, please [report an issue](#provide-feedback).
50
50
51
51
## Provide feedback
52
52
53
-
Please check existing [Known Issues](https://github.com/dotnet/xcsync/issues) before filing a new issue or suggestion.
53
+
Please check existing [Known issues](https://github.com/dotnet/xcsync/issues) before filing a new issue or suggestion.
0 commit comments