Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
include ESP SPIFFS data folder in project (Read 102 times)
Natsuki-chan
Junior Member
**
Offline



Posts: 19
include ESP SPIFFS data folder in project
Dec 17th, 2019 at 5:00pm
 
Hello,

I am coding a project for an ESP32 that includes a webserver.
The files are served from SPIFFS that is uploaded via Visual Micro.
However I want it to be included in the project.
How can I do that?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10739
United Kingdom
Re: include ESP SPIFFS data folder in project
Reply #1 - Dec 17th, 2019 at 5:17pm
 
There is a small icon above the solution explorer called "Show All Files"

In "Show all files"  view you will see your \Data folder.

If you need to include for source control? Then you can right click the folder and click "Include in Project"

It is also possible to click each file or CTRL+Click multiple files, then right click and "Include in Project"

Does this answer your question?
Back to top
« Last Edit: Dec 17th, 2019 at 5:18pm by Visual Micro »  
WWW  
IP Logged
 
Natsuki-chan
Junior Member
**
Offline



Posts: 19
Re: include ESP SPIFFS data folder in project
Reply #2 - Dec 17th, 2019 at 6:32pm
 
Not really.
The show all files option really shows all the files and makes it cluttered,
If I do the Include in Project it only shows the index.html file. Not the whole data folder.
The folder is structured as
data:
css/*
js/*
index.html
otherwebfiles.html

I fixed it for now by adding the data folder as a new website in the solution and that does work.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10739
United Kingdom
Re: include ESP SPIFFS data folder in project
Reply #3 - Dec 17th, 2019 at 7:06pm
 
Great. You can also shift+click to highliht and include multiple files but it makes more sense to have them in a web project.

fyi: All of this is standard VS, we use C++ projects for Arduino but you are still working with standard Visual Studio C++ projects.
Back to top
« Last Edit: Dec 17th, 2019 at 7:07pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print