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 What makes a project a VS Arduino project? Using VS templates (Read 779 times)
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
What makes a project a VS Arduino project? Using VS templates
Feb 19th, 2021 at 2:42pm
Print Post  
Hi,
I have created a project template from an existing Arduino project to use as a template for new projects.
It isn't created completely (the data directory is missing, for example) but I'm aware of this (and reported it to MS but there was little interest..)

Now when I use the template I get a new project with the new name but the original xxx.ino file. The project doesn't open as a VM project but as a 'normal' vs project.

I had to rename the xxx.ino file to the same as the new project directory then hunt down and rename the .ino entries in the vs files. Then it did appear as a vm project.

Can this be automated/added to VM as I'm sure I've seen someone asking before for an easy way to clone a project.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: What makes a project a VS Arduino project? Using VS templates
Reply #1 - Feb 21st, 2021 at 10:31pm
Print Post  
In the Arduino IDE we only have a folder name and an .ino code file name that must be the same. That is an Arduino project.

Visual Micro applies the same rules plus one extra rule. The project name must also be the same. If all three conditions are true Visual Micro will assume a standard VC++ project requires Arduino assistance.

If you look near the end of the Global Options you will see where Visual Micro is installed. There is a ProjectTemplates folder with the zips that the Visual Micro File>New>Project dialog uses. They might be useful.



  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint