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 proper way to back up a project when using VM (Read 2717 times)
perigalacticon
Junior Member
**
Offline


Posts: 55
Location: detroit area
Joined: Nov 7th, 2016
proper way to back up a project when using VM
Oct 22nd, 2017 at 7:46pm
Print Post  
If I want to save back up or different versions of a VM Arduino project, what is the best / correct way to do this?  I am unfamiliar with AS7 project / solution / directory structures.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: proper way to back up a project when using VM
Reply #1 - Oct 23rd, 2017 at 2:35pm
Print Post  
Hi,

I can only answer for visual micro arduino projects.

Everything is in or below the folder where your program (.ino) code is located
  
Back to top
WWW  
IP Logged
 
perigalacticon
Junior Member
**
Offline


Posts: 55
Location: detroit area
Joined: Nov 7th, 2016
Re: proper way to back up a project when using VM
Reply #2 - Oct 23rd, 2017 at 6:57pm
Print Post  
I only use it for Arduino projects.  What is a solution, and what is a project, and should either of these change when saving different versions of the Arduino file?  Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: proper way to back up a project when using VM
Reply #3 - Oct 23rd, 2017 at 7:15pm
Print Post  
Hi,

Atmel studio is actually visual studio so you can follow any microsoft/atmel suggestions and tutorials about this

All files are text files so you can look at what is in them and change them if ever need.

In essence a .sln solution contains the relative paths of the projects (.cppproj) you see in the solution explorer.

A .cppproj contains a list of the relative paths of the files you have included into the solution tree. Visual micro also stores global properties if you have changed any using the visual micro project properties.

The project files also includes intellisense info but this is rebuilt as needed. 

How to re-create a solution and project example

If you removed all atmel/vs files and only your own source code remained then used visual micro to "file>open>arduino project > .ino" you would find that your project and solution are recreated. 

If you do this you would just need to ensure that any "additional code files" have been "included" in the solution explorer by right clicking the files when "show all files" is selected.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint