VS Arduino
Visual Micro >> Project Guidance >> Re: Multiple tabs (.ino files)
https://www.visualmicro.com/forums/YaBB.pl?num=1663333395

Message started by Simon@Visual Micro on Sep 16th, 2022 at 1:20pm

Title: Re: Multiple tabs (.ino files)
Post by Simon@Visual Micro on Sep 16th, 2022 at 1: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)


Title: Re: Multiple tabs (.ino files)
Post by Frank B101 on 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.

Title: Re: Multiple tabs (.ino files)
Post by Simon@Visual Micro on 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?

Title: Re: Multiple tabs (.ino files)
Post by Tim@Visual Micro on 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

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.