Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

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....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
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
Re: Multiple tabs (.ino files) (Read 229 times)
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1572
Re: Multiple tabs (.ino files)
Sep 16th, 2022 at 2:20pm
 
Thanks for the report.

When you opened your Arduino IDE project in VS, did you use the File > Open Arduino Project, and select the Main Sketch.ino file?
(This will automatically find all INO/CPP/H files and add them to the project for you)

Back to top
 
 
IP Logged
 
Frank B101
Newbies
*
Offline



Posts: 1
Re: Multiple tabs (.ino files)
Reply #1 - Nov 13th, 2022 at 11:13am
 
Hello, I am having the same problem. I have followed your instruction but still only the main ino file is loaded. I have to manually add all of the other ino files. I hope this can be fixed.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1572
Re: Multiple tabs (.ino files)
Reply #2 - Nov 15th, 2022 at 1:36pm
 
Thanks for the update.

We have been unable to replicate this, and when using the File > Open Arduino project, all other INO Files in the project folder are automatically added to the Project, visible in Solution Explorer.

We have tried:
1) Create a new Sketch Folder, and put 2 x INO files in
2) Open VS > Click Continue without Code
3) Click File > Open Arduino Project and select the SketchName.ino file

Then we clicked Save All, exited VS, added another INO file to the sketch folder.

When repeating the above steps the new INO file was added to the Project as expected.

Can you detail the steps you are performing, and also confirm which version of Visual Studio and Visual Micro you are using?
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11536
United Kingdom
Re: Multiple tabs (.ino files)
Reply #3 - Nov 18th, 2022 at 9:21pm
 
Thanks for the reports.

There was an issue with the auto load and validation of source files when opening projects via "file>open>arduino project".

This is resolved in the latest Visual Micro 2.0 for Visual Studio 2022 and will be pushed to VS2017/2019 during the coming few weeks.

You can find the download for Rc3 of Visual Micro 2.0 in the forum New release board which is here https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print