https://github.com/nanoframework/nf-vscodeextension
🧰 Visual Studio Code extension for .NET nanoFramework and cross platform tools to build and deploy
https://github.com/nanoframework/nf-vscodeextension
esp32 hacktoberfest i-am-a-nano-tool mcu stm32 visual-studio-code
Last synced: 2 months ago
JSON representation
🧰 Visual Studio Code extension for .NET nanoFramework and cross platform tools to build and deploy
- Host: GitHub
- URL: https://github.com/nanoframework/nf-vscodeextension
- Owner: nanoframework
- License: mit
- Created: 2021-09-28T07:27:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T08:54:37.000Z (7 months ago)
- Last Synced: 2025-04-19T17:53:54.283Z (2 months ago)
- Topics: esp32, hacktoberfest, i-am-a-nano-tool, mcu, stm32, visual-studio-code
- Language: TypeScript
- Homepage: https://www.nanoframework.net
- Size: 5.66 MB
- Stars: 10
- Watchers: 6
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://marketplace.visualstudio.com/items?itemName=nanoframework.vscode-nanoframework) [](https://dev.azure.com/nanoframework/VSCodeExtension/_build/latest?definitionId=86&branchName=develop) [](https://discord.gg/gCyBu8T)

-----
# .NET nanoFramework VS Code Extension
This extension allows you to use VS Code to flash, build and deploy your C# code for .NET nanoFramework on your device regardless of the platform you're using. This has been tested on Mac, Linux (64 bits) and Windows (64 bits).

## Features
This .NET nanoFramework VS Code extension allow you to flash, build and deploy your C# .NET nanoFramework application on an ESP32 or STM32 MCU.
### Flashing the device
Select `nanoFramework: Flash device` and follow the steps.

Based on the target you will select, the menus will automatically adjust to help you finding the correct version, DFU or Serial Port.

Once all options has been selected, you'll see the flashing happening:

### Building your code
Select `nanoFramework: Build Project` and follow the steps.

If you have multiple solutions in the open folder, you'll be able to select the one to build:

Build result will be display in the Terminal:

### Deploy to your device
Select `nanoFramework: Deploy Project` and follow the steps.

Similar as building the project, you'll have to select the project to deploy. The code will be built and the deployment will start:

You'll get as well the status of the deployment happening in the Terminal.
### Create solutions and projects
To create a solution, you can select any folder on your workspace, right click and select the create solution option.

You then need to place a valid name and your solution is created.
On the solution, right click and select `Add project to existing Solution`

Place a valid name like in this example `MyApplication`.

Then select the type of project you want to add.

## Requirements
You will need to make sure you'll have the following elements installed:
- [.NET 8.0](https://dotnet.microsoft.com/download/dotnet)
- [nuget CLI](https://www.nuget.org/downloads)
- [Visual Studio build tools](https://visualstudio.microsoft.com/en/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16) on Windows, `mono-complete` on [Linux/macOS](https://www.mono-project.com/docs/getting-started/install/)> **Note:** Do not use the `mono-complete` package provided by your Linux distribution
> as it may not include `msbuild` which is required for this extension to work.
>
> Instead install the `mono-complete` package provided by the Mono Project.
> The [preview](https://www.mono-project.com/download/preview/) version is recommended
> as the [stable](https://www.mono-project.com/download/stable/) version is outdated.## Known Issues
This extension will **not** allow you to debug the device. Debug is only available on Windows with [Visual Studio](https://visualstudio.microsoft.com/downloads/) (any edition) and the [.NET nanoFramework Extension](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2022-Extension) installed.
This extension will work on any Mac version (x64 or M1), works only on Linux x64 and Windows x64. Other 32 bits OS or ARM platforms are not supported.
## Developing for the VS Code extension
Documentation about development for the extension can be found [here](instalation.md).
## Feedback and documentation
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).
Join our Discord community [here](https://discord.gg/gCyBu8T).
## Credits
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
## License
The **nanoFramework** Class Libraries are licensed under the [MIT license](LICENSE.md).
## Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).### .NET Foundation
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).