VS Arduino
>> >> If a project name starts with a number the .ino file is automatically prepended with an underscore
https://www.visualmicro.com/forums/YaBB.pl?num=1496423108

Message started by Arecon on Jun 2nd, 2017 at 5:05pm

Title: If a project name starts with a number the .ino file is automatically prepended with an underscore
Post by Arecon on Jun 2nd, 2017 at 5:05pm
Another issue:

If a project name starts with a number the .ino file is automatically prepended with an underscore. The Visual Micro Explorer is not able to add any includes to such an ino file.

Title: Re: If a project name starts with a number the .ino file is automatically prepended with an underscore
Post by Visual Micro on Jun 2nd, 2017 at 6:12pm
Hi,

I think Atmel studio is doing this automatically. It doesn't happen with File>Open>Arduino Project.

Visual Micro will stop managing the project if the rules are not met.

The following items must have the same name for Visual Micro to treat as an Arduino project and also for the arduino ide the first two items must comply:-

Project Folder Name
An .ino Name
Project Name

You need to manually rename the .ino. AS7 is a bit buggy in this area. When you rename it will probably duplicate. Then you need to right click "Remove" the one with the wrong name and "Include" the one with the right name. Use the "Show all files" button above the solution explorer to see what is happening.

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