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 github repositories best practices (Read 1187 times)
CSC
Junior Member
**
Offline


Posts: 38
Location: Panama
Joined: Apr 17th, 2020
github repositories best practices
Nov 8th, 2020 at 1:39pm
Print Post  
I have Visual Studio 2019 + Visual Micro installed and of course the Arduino IDE. I have repositories already established for Arduino IDE sketchbook directories that I am currently using. 

These repositories work with the Arduino IDE stand alone and I can also open the folders directly from VS 2019. The GitHub desktop app will recognize changes to these folders made in VS 2019 and I can push them up to GitHub using the desktop app. All good so far.

However, this leaves the github extension in VS 2019 in the dark (it does not recognize the changes because there is no repository associated from VS 2019).

My question is, given that scenario, what is the best practice? Should I point VS 2019 github extension to the existing local repositories in the Arduino sketchbook directory or should I clone new repositories just for VS 2019 from the master?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: github repositories best practices
Reply #1 - Nov 8th, 2020 at 3:18pm
Print Post  
It should be the same as when working with a Visual Studio C++ project. We don't do anything that would prevent all source control options from working with the project.

It isn't clear if you understand the difference between a Visual Studio project/solution v's opening a source code folder for view.
  
Back to top
IP Logged
 
CSC
Junior Member
**
Offline


Posts: 38
Location: Panama
Joined: Apr 17th, 2020
Re: github repositories best practices
Reply #2 - Nov 8th, 2020 at 6:10pm
Print Post  
May be Im just opening in view mode. Will try opening first time w VMicro as a project.
  
Back to top
 
IP Logged
 
CSC
Junior Member
**
Offline


Posts: 38
Location: Panama
Joined: Apr 17th, 2020
Re: github repositories best practices
Reply #3 - Nov 8th, 2020 at 9:41pm
Print Post  
In Visual Studio I opened each of my current Arduino IDE projects using the vMicro Open>Arduino Project, then saved them. This created all the necessary Visual Studio files. So, Ive got that bit resolved.

Getting the Github repositories sync up is not a vMicro issue so I will follow up on that via the Github extension.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint