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 Modifying Existing Project on GitHub (Read 719 times)
CSC
Junior Member
**
Offline


Posts: 38
Location: Panama
Joined: Apr 17th, 2020
Modifying Existing Project on GitHub
Nov 8th, 2020 at 2:22am
Print Post  
Ive setup Visual Studio + Visual Micro and have it working fine for new code. I can create new code, use existing libraries stored locally, upload to board, etc... However, I've not yet figured out how to work with existing projects from GitHub. I can clone them and view the source code, but the VS/VM menu items to build etc do not appear. If I modify the toolbar to turn them on they flash briefly and then go away. The "Build" menu item for example is not visible at all. 

The existing repositories I am using are Arduino IDE sketches, not yet Visual Studio projects. 

I get to this point by choosing the "no code" link from the start page and the File>Open>Open From Git Hub from the menu bar. 

Screen shot attached. 

How do I open a repository on GitHub and be able to build etc?

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Modifying Existing Project on GitHub
Reply #1 - Nov 8th, 2020 at 3:16pm
Print Post  
We just use standard Visual Studio C++ projects for Arduino.

If you have an .ino file in a directory of the same name, then you need to open a .vcxproj or use "File>Open>Arduino Project" which will create a .vcxproj for you. The "open" option is also on the vMicro menu.

After you have a .vcxproj you can use the standard Visual Studio File>Open commands or Recent lists to re-open. Using "File>Open>Arduino Project" can always be used but it is better to use the standard VS commands after the project/solution has been created. 

« Last Edit: Nov 8th, 2020 at 6:09pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
CSC
Junior Member
**
Offline


Posts: 38
Location: Panama
Joined: Apr 17th, 2020
Re: Modifying Existing Project on GitHub
Reply #2 - Nov 8th, 2020 at 6:07pm
Print Post  
Thanks. Will give that a try.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint