The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I have an a WPF app I'm working on. The solution has 4 projects specific to the app. However the solutuion also references 10 of my framework projects.
My framework has 16 individual projects. Each is comprised of their own solutions & projects.
When I checked the app's solution into Git, only the 4 app projects were added. It seems that I have to go to each of the framework projects and individually add each project to Git.
And, in the app's solution file, the framework projects don't show the source control icons.
Can't I manage Git checkins/gets for all of the projects from the app's solution? The way it appears now, if I make a change to any framework code, I would have to open that project in VS and commit.
I'm assuming I'm doing something wrong here.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
git commits are unrelated to solutions...commits are related to repositories. How you commit your code depends on how you break it up between repositories. If you code resides in more than one repository, then you must make separate commits to each repository. In other words, each repository is versioned separately.
We developed our own git forest (each git repo is called a repo tree) manager that once a visual studio project file is given, it can find all explicit dependencies (projects) and perform git operations on the forest in batch, it could save quite a lot efforts and reduce inconsistencies
Scott is correct. Loading solutions / projects that are from different repos won't show the icons for all of them in VS. It only likes to connect to one repo at a time, although I think you can switch, or at least choose when loading the solution. I use Sourcetree (ui for Git) separately and do my commits, etc. from there.
When reports about the novel coronavirus SARS-CoV-2 began circulating earlier this year and questions were being raised about how the illness it causes, COVID-19, compared to the flu, it occurred to me that, in four years of emergency medicine residency and over three and a half years as an attending physician, I had almost never seen anyone die of the flu. I could only remember one tragic pediatric case.
Based on the CDC numbers though, I should have seen many, many more. In 2018, over 46,000 Americans died from opioid overdoses. Over 36,500 died in traffic accidents. Nearly 40,000 died from gun violence. I see those deaths all the time. Was I alone in noticing this discrepancy?
Lies, damned lies, and statistics!
If you can't laugh at yourself - ask me and I will do it for you.