Skip to content

Commit 3603ba6

Browse files
authored
Merge pull request #13 from devdotnetorg/dev
Dev => Master
2 parents a7f0780 + 25ee2d9 commit 3603ba6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4765
-906
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
33
"files.exclude": {
4-
"out": false // set this to true to hide the "out" folder with the compiled JS files
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"samples/**": true
56
},
67
"search.exclude": {
78
"out": true // set this to false to include "out" folder in search results

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v0.4.0 (30-05-2023)
4+
5+
- Added command to discover devices on the local network.
6+
- Updated npm component packages.
7+
- Improved UI.
8+
39
## v0.3.4 (17-05-2023)
410

511
- Bugs fixed.

CHANGELOG_ru.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Список изменений
22

3+
## v0.4.0 (30-05-2023)
4+
5+
- Добавлена команда обнаружения устройств в локальной сети.
6+
- Обновлены npm-пакеты компонентов.
7+
- Улучшен UI.
8+
39
## v0.3.4 (17-05-2023)
410

511
- Исправлены ошибки.

Create-extension.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Create extension
22

3-
1. npm install -g yo
3+
1. npm install -g yo generator-code
44

5-
2. npm install -g yo generator-code
6-
7-
3. Create App: yo code
5+
2. Create App: yo code
86

97
Links:
108

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Devices supported: Raspberry Pi, Banana Pi, Orange Pi, Radxa, Tinkerboard, Odroi
2626

2727
## System requirements
2828

29-
- **OS version.** Windows 7-10 (x64). A Linux version will come later. Note: The next version of the extension above v0.3 will not support Windows 7;
30-
- **Visual Studio Code.** version not lower than [1.70.3](https://code.visualstudio.com/ "1.70.3"). This is the latest version of VSCode with Windows 7 support, more details on this on [support page](https://code.visualstudio.com/docs/supporting/faq#_can-i-run-vs-code-on-windows-7 "Can I run VS Code on Windows 7?");
29+
- **OS version.** Windows 10 (x64). A Linux version will come later;
30+
- **Visual Studio Code.** version [1.78.0](https://code.visualstudio.com/ "1.78.0") or higher;
3131
- **.NET.** Compiling a C# project requires [.NET SDK](https://dotnet.microsoft.com/en-us/download/visual-studio-sdks ".NET SDK") depending on the version of your project you are using (the extension itself is not required to work);
3232

3333
Additional extensions required for developing .NET applications:

README_ru.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
## Системные требования
2828

29-
- **Версия ОС.** Windows 7-10 (x64). Версия для Linux появится позже. Примечание: следующая версия расширения выше v0.3 не будет поддерживать Windows 7;
30-
- **Visual Studio Code.** версия не ниже [1.70.3](https://code.visualstudio.com/ "1.70.3"). Это последняя версия VSCode с поддержкой Windows 7, подробнее об этом на [странице поддержки](https://code.visualstudio.com/docs/supporting/faq#_can-i-run-vs-code-on-windows-7 "Can I run VS Code on Windows 7?");
29+
- **Версия ОС.** Windows 10 (x64). Версия для Linux появится позже;
30+
- **Visual Studio Code.** Версия [1.78.0](https://code.visualstudio.com/ "1.78.0") или выше;
3131
- **.NET.** Для компиляции проекта на C# требуется [.NET SDK](https://dotnet.microsoft.com/en-us/download/visual-studio-sdks ".NET SDK") в зависимости от используемой версии вашего проекта (для работы самого расширения не требуется);
3232

3333
Дополнительные расширения необходимые для разработки .NET приложений:

docs/Troubleshooting.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,32 @@ If the problems persist, then you should delete/rename the extension folder wher
176176
- `C:\RemoteCode\`;
177177
- `%userprofile%\fastiot`, for example `C:\Users\Anton\fastiot`.
178178

179+
After running the extension, there should be the following folder structure along the path `%userprofile%\fastiot`:
180+
181+
```bash
182+
.
183+
└── fastiot
184+
├── settings
185+
│   └── keys
186+
├── templates
187+
│   ├── community
188+
│   ├── system
189+
│   │   ├── dotnet-console
190+
│   │   │   ├── storage
191+
│   │   │   ├── template
192+
│   │   │   │   ├── dotnetapp.csproj
193+
│   │   │   │   └── Program.cs
194+
│   │   │   ├── template.fastiot.png
195+
│   │   │   └── template.fastiot.yaml
196+
│   │   ├── dotnet-console-runtime-info
197+
│   │   │   └── ...
198+
│   │   └── dotnet-iot-blink-led
199+
│   │      └── ...
200+
│   ├── user
201+
│   └── webapi
202+
└── tmp
203+
```
204+
179205
If problems persist after restarting the extension, then the problems may be related to granting access rights to the above folders.
180206

181207
The executable extension files are located in the `%USERPROFILE%\.vscode\extensions` folder, for example `C:\Users\Anton\.vscode\extensions`. You can remove the extension from the specified folder and reinstall it.

docs/Troubleshooting_ru.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,32 @@ chmod +x vscode-dotnetfastiot.sh
176176
- `C:\RemoteCode\`;
177177
- `%userprofile%\fastiot`, например `C:\Users\Anton\fastiot`.
178178

179+
После запуска расширения, должна быть следующая структура папок по пути `%userprofile%\fastiot`:
180+
181+
```bash
182+
.
183+
└── fastiot
184+
├── settings
185+
│   └── keys
186+
├── templates
187+
│   ├── community
188+
│   ├── system
189+
│   │   ├── dotnet-console
190+
│   │   │   ├── storage
191+
│   │   │   ├── template
192+
│   │   │   │   ├── dotnetapp.csproj
193+
│   │   │   │   └── Program.cs
194+
│   │   │   ├── template.fastiot.png
195+
│   │   │   └── template.fastiot.yaml
196+
│   │   ├── dotnet-console-runtime-info
197+
│   │   │   └── ...
198+
│   │   └── dotnet-iot-blink-led
199+
│   │      └── ...
200+
│   ├── user
201+
│   └── webapi
202+
└── tmp
203+
```
204+
179205
Если после перезапуска расширения проблемы остались, то возможно проблемы связаны с предоставлением прав доступа к выше указанным папкам.
180206

181207
Исполняемые файлы расширения располагаются в папке `%USERPROFILE%\.vscode\extensions`, например `C:\Users\Anton\.vscode\extensions`. Вы можете удалить расширение из указанной папки и заново его установить.

installation.md

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,60 @@
11
# Installation
22

3-
## Prerequisites
3+
## for Windows 10
44

5-
- node (> v14.16)
6-
- npm
7-
- .NET SDK 5.0
5+
### Prerequisites
86

9-
## Install Node.js
7+
- vscode (v1.78.0)
8+
- python (v3.11.3)
9+
- node (v16.17.1)
10+
- git
11+
- npm
12+
- .NET SDK 7.0
1013

11-
- Download Node.js https://nodejs.org/dist/v14.16.0/
12-
- Unpack to folder: `{folder_nodejs}`
13-
- For windows 7 set environment variable: NODE_SKIP_PLATFORM_CHECK=1
14-
- Add to environment variable Path: `{folder_nodejs}`
15-
- Execute command: npm config --global set cache "`{folder_nodejs}`\\npm-cache"
16-
- Execute command: npm config --global set prefix "`{folder_nodejs}`"
17-
- Execute command: npm config ls -l
14+
### Software installation
15+
16+
- Download [vscode 1.78.0](https://update.code.visualstudio.com/1.78.0/win32-x64-archive/stable "1.78.0")
17+
- Unpack to any folder
18+
- Download [python v3.11.3](https://www.python.org/downloads/release/python-3113/ "3.11.3")
19+
- Install python
20+
- Download [node.js v16.17.1](https://nodejs.org/dist/v16.17.1/ "16.17.1")
21+
- Install node.js with Tools for Native Modules (checkbox during installation)
22+
- Download [git](https://git-scm.com/download/win/ "git")
23+
- Install git
1824

1925
## Install steps
2026

2127
- Clone repository and `cd` into it
2228
- Execute command: npm install
2329
- Open in Visual Studio Code (`code .`)
2430
- Press <kbd>F5</kbd> to debug.
31+
32+
## for Windows 7
33+
34+
Only up to extension version v0.3.4 (17-05-2023).
35+
36+
### Prerequisites
37+
38+
- vscode (v1.70.3, latest version with Windows 7 support)
39+
- python (v3.8.0)
40+
- node (v14.16)
41+
- git
42+
- npm
43+
- .NET SDK 5.0
44+
45+
### Software installation
46+
47+
- Download [vscode 1.70.3](https://az764295.vo.msecnd.net/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeSetup-x64-1.70.3.exe "1.70.3")
48+
- Unpack to any folder
49+
- Download [python v3.8.0](https://www.python.org/downloads/release/python-380/ "3.8.0")
50+
- Install python
51+
- Download [node.js v14.16](https://nodejs.org/dist/v14.16.0/ "14.16")
52+
- Unpack to folder: `{folder_nodejs}`
53+
- For windows 7 set environment variable: NODE_SKIP_PLATFORM_CHECK=1
54+
- Add to environment variable Path: `{folder_nodejs}`
55+
- Execute command: npm config --global set cache "`{folder_nodejs}`\\npm-cache"
56+
- Execute command: npm config --global set prefix "`{folder_nodejs}`"
57+
- Execute command: npm config ls -l
58+
- Execute command: npm install -g --production windows-build-tools
59+
- Download [git](https://git-scm.com/download/win/ "git")
60+
- Install git

0 commit comments

Comments
 (0)