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
Recommended additional extensions that improve the development process and interaction with the remote device:
38
38
39
-
-[NuGet Package Manager](https://marketplace.visualstudio.com/items?itemName=jmrog.vscode-nuget-package-manager"NuGet Package Manager") - adding Nuget packages (later the Nuget package manager will be built into extension);
39
+
-[NuGet Package Manager GUI](https://marketplace.visualstudio.com/items?itemName=aliasadidev.nugetpackagemanagergui"NuGet Package Manager GUI") - adding Nuget packages (later the Nuget package manager will be built into the extension);
40
40
-[DeviceTree](https://marketplace.visualstudio.com/items?itemName=plorefice.devicetree"DeviceTree") - Syntax support for Device Tree (DT) files. Used to edit `*.dts` files. For example, it will be necessary if it becomes necessary to adapt the [SPI LCD ILI9341 display](https://devdotnet.org/post/rabota-s-gpio-v-linux-na-primere-banana-pi-bpi-m64-chast-4-device-tree-overlays-podkluchenie-displey-spi-lcd-ili9341/"SPI LCD ILI9341 display") for your SBC;
41
41
-[Output Colorizer](https://marketplace.visualstudio.com/items?itemName=IBM.output-colorizer"Output Colorizer") - adds color to the test messages in the OUTPUT window, makes it easier to perceive the information provided by the extension.
42
42
@@ -93,6 +93,6 @@ See [ISSUES](ISSUES.md "ISSUES") and [Issues on GitHub](https://github.com/devdo
-**Fastiot › Device > ssh > Key: Type** - The name of the algorithm used to generate the key. For more information about key algorithms, see [How To Set Up SSH Keys](https://goteleport.com/blog/how-to-set-up-ssh-keys/). Default value: `ed25519`. If you choose the `rsa` algorithm, then you will need to add the line `PubkeyAcceptedAlgorithms=+ssh-rsa` to the `/etc/ssh/sshd_config` file.
15
15
-**Fastiot › Launch: Templatetitle** - template for forming the name of Launch. Variable values can be viewed at [link](Launch-title-template.md"Template for forming the name Launch"). Default value: `Launch on %{device.label} (%{project.name}, %{device.board.name}, %{device.user.debug})`.
16
+
-**Fastiot › Template: Isupdate** - enable/disable updating templates from Internet resources.
17
+
-**Fastiot › Template: Lastupdate** - last update time. Technical parameter.
18
+
-**Fastiot › Template: Loadonstart** - loading templates at extension start. If this option is disabled, templates will only be loaded the first time they are accessed.
19
+
-**Fastiot › Template: Updateinterval** - template update interval in hours.
Copy file name to clipboardExpand all lines: docs/Getting-started.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
@@ -16,8 +16,6 @@ apt-get install -y sudo
16
16
```bash
17
17
sudo apt-get update
18
18
sudo apt-get install -y openssh-server mc
19
-
sudo systemctl reload ssh
20
-
sudo systemctl status ssh
21
19
sudo mcedit /etc/ssh/sshd_config
22
20
```
23
21
@@ -118,6 +116,8 @@ To run a .NET IoT application and perform remote debugging, you need to install:
118
116
119
117
Sample projects with added configuration Launch (`/.vscode/launch.json`) and Tasks (`/.vscode/tasks.json`) are located in the [samples](/samples/) folder.
120
118
119
+
The `template.fastiot.yaml` file will be placed in the project folder. This file is required to determine the template ID when adding Launch. If it is removed, then there will be no exact definition of the template from which the project was formed. From the `template.fastiot.yaml` file, only the template identifier string `id: dotnet-console` is taken.
120
+
121
121
## Rebuild Launch
122
122
123
123
Launch (`/.vscode/launch.json`) and Tasks (`/.vscode/tasks.json`) configurations contain absolute paths to binary files that are loaded on the device, for example `/cygdrive/d/Anton/Projects/Tests /DotnetConsoleAppRuntimeInfo/bin/Debug/net5.0/linux-arm/`. In this regard, if you change the path to the `Applicationdatafolder` folder in the settings or rename / move the project folder, then the paths become non-existent. In this case, you need to rebuild (Rebuild) Launch. Select the required Launch and then call the context menu, click on the `Rebuild` menu item.
Merging example: `Launch on cubieboard (DotnetConsoleBlinkLEDApplication, Cubieboard, debugvscode)`.
6
6
7
-
Variables for creating the name of the Launch configuration and their values can be viewed on the [Project Templates](Project-templates.md"Project Templates") page.
7
+
See the [Project Templates](Project-templates.md"Project Templates") page for the variables to create the Launch configuration name and their values.
8
8
9
9
If you need additional variables, please create an [ISSUE](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/issues"ISSUE").
Copy file name to clipboardExpand all lines: docs/Project-templates.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,9 @@ The template is a regular zip archive with the following structure:
25
25
26
26
### Folder - storage
27
27
28
-
Any files can be placed. In particular, each template folder contains the **cwRsync** and **ssh** utilities used to remotely log into the device and copy executable binaries. Optionally, you can replace the package by downloading from the official site at [link](https://itefix.net/cwrsync"link").
28
+
Any files can be placed. For example, the **cwRsync** and **ssh** utilities used to remotely login to a device and copy executable binaries. Optionally, you can replace the package by downloading from the official site at [link](https://itefix.net/cwrsync"link").
29
+
30
+
The **cwRsync** and **ssh** utilities have been moved to the [system application directory](/windows/apps/) to avoid unnecessary increase in the size of the template. Now there is no need to duplicate the specified utilities for each template. It is enough to specify the path to system utilities in the template, for example: "%{extension.apps.builtin.aswindows}\\\\cwrsync\\\\ssh.exe".
29
31
30
32
### Folder - template
31
33
@@ -82,6 +84,13 @@ If the value of the `name` key, e.g. `Launch on cubieboard (DotnetApp, Cubieboar
82
84
83
85
Additional keys have been added to Launch, prefixed with `fastiotId*`, keys: `fastiotIdLaunch`, `fastiotIdDevice`, `fastiotProject`, `fastiotIdTemplate`. It is not recommended to change them. some extension functions may not be available because of this.
84
86
87
+
Keys:
88
+
-`fastiotIdLaunch` - unique Launch identifier;
89
+
-`fastiotIdDevice` - unique device identifier;
90
+
-`fastiotProject` - unique ID of the template from which Launch was created;
91
+
-`fastiotIdTemplate` - the path to the project with which this Launch is associated;
92
+
-`fastiotDescription` - (optional) Text description of Launch. Use ` \n` (two spaces and \n) to break a line.
0 commit comments