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
  • 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
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic If a project name starts with a number the .ino file is automatically prepended with an underscore (Read 1722 times)
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
If a project name starts with a number the .ino file is automatically prepended with an underscore
Jun 2nd, 2017 at 5:05pm
Print Post  
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.
« Last Edit: Jun 2nd, 2017 at 6:09pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: If a project name starts with a number the .ino file is automatically prepended with an underscore
Reply #1 - Jun 2nd, 2017 at 6:12pm
Print Post  
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.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint