Hi wonder if you can help.
I have a new PC with WIN10 and loaded Visual Studio, with the following info
Version: 1.85.1 (user setup)
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:49:37.021Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
However when I load any existing project or create a new project, I get the following error
“MissingPackageManifestError: Could not find one of ‘package.json’ manifest files in the package”
I have cleared my directory and reloaded VS afresh, reloaded Python 3.12.1, have reloaded Arduino 2.21, but still get the same error. Can you point me in the right direction please. Have loaded IDE, Arduino, JSON for VS, but still get the error.
Can you suggest what I can try next?
Could it be that the latest version of VS does not do the ESP8266?
I uninstalled the extension ESP32 Manager which I previously installed after loading VS
1. I then deleted the files in the C:/Users/USER/.platformio/.cache and packages directory – note you may have a different name for USER
3. Deleted my project in the PlatformIO directory (Actually moved the main.cpp to another directory)
2. Closed VS and restarted.
3. I loaded extension ESP-Engine
4. Created a new project again, and copied the text from my old file into the new open main.cpp
I compiled, which took a while as VS then rebuilt all the deleted files in .cache and packages directory and was successful. I then flashed my ESP8266 there after.
Hope this helps