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
If a project name starts with a number the .ino file is automatically prepended with an underscore (Read 1037 times)
Arecon
Junior Member
**
Offline



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



Posts: 10546
United Kingdom
Re: If a project name starts with a number the .ino file is automatically prepended with an underscore
Reply #1 - Jun 2nd, 2017 at 7: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.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print