Help: Visual Studio, Github and Libraries
Posted: April 28th, 2019, 12:31 am
Good evening, all. This may take a moment to explain, so bear with me, please.
I want to separate my reusable code into libraries, but I'm not sure how to go about this in conjunction with Visual Studio, and Github. I want to perform this in such a way that I can update them, or incorporate them into new projects easily and smoothly without hassle. Which makes me think that means hosting them on GH/some other VC is a good idea.
I have done a lot of googling on the issue, but I'm left almost more confused about what I should do than I was before. I've looked into Git submodules, but have been unable to understand how I can utilize that particular feature inside of Visual Studio. My understanding of Github is "just enough to be dangerous". I have had poor success using the git console, and prefer using the Github extension in Visual Studio.
Should it be as simple having a separate library project for each .lib, and when updating the code the library project, building it, and replace the .lib in my main projects whenever I make changes to the library(s)?
Is there some elegant and automatic way to go about this where when I update the code in my libraries, that they are somehow connected or linked to my main projects and are subsequently updated automatically?
Thank you, all!
I want to separate my reusable code into libraries, but I'm not sure how to go about this in conjunction with Visual Studio, and Github. I want to perform this in such a way that I can update them, or incorporate them into new projects easily and smoothly without hassle. Which makes me think that means hosting them on GH/some other VC is a good idea.
I have done a lot of googling on the issue, but I'm left almost more confused about what I should do than I was before. I've looked into Git submodules, but have been unable to understand how I can utilize that particular feature inside of Visual Studio. My understanding of Github is "just enough to be dangerous". I have had poor success using the git console, and prefer using the Github extension in Visual Studio.
Should it be as simple having a separate library project for each .lib, and when updating the code the library project, building it, and replace the .lib in my main projects whenever I make changes to the library(s)?
Is there some elegant and automatic way to go about this where when I update the code in my libraries, that they are somehow connected or linked to my main projects and are subsequently updated automatically?
Thank you, all!