platformio / platformio/platformio-core

When I start a new PlatformIO project I can't open it in Visual Studio 2022 on Windows 10

Open
#4,178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted integration
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

pio project init --ide visualstudio --board uno

I am following the instructions here from the documentation. After creating the PlatformIO project in the command line I am not able to open it in Visual Studio 2022.
I see the instructions to do this are the following
Import this project via Menu: File > Open > Project/Solution and specify root directory where is located “platformio.ini” (Project Configuration File)
It doesn't let me open this because there is no 'project file' in that, or any directory according to Visual Studio. Not in the directory the "platformio.ini" is located in or any other.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing pio project init --ide visualstudio --board uno on Windows 10 and compare the generated project with the Visual Studio 2022 instructions in the linked documentation. Inspect the project directory and platformio.ini; done means the generated PlatformIO project can be opened through Visual Studio's File > Open > Project/Solution flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.