[英]How to use GitHub repo with a solution with many projects
I have a visual studio solution that has 15 projects in it. 我有一个Visual Studio解决方案,其中包含15个项目。 I am new to GitHub so I am trying to figure out how I should put this solution in a repository. 我是GitHub的新手,所以我试图弄清楚如何将该解决方案放入存储库中。 In the solution, there is a core project that is the core application, then each additional project is a 'module'. 在解决方案中,有一个核心项目是核心应用程序,然后每个其他项目都是一个“模块”。
I could upload it all as one, but the project files all together are > 200MB. 我可以将其全部上传为一个,但是项目文件的总和大于200MB。 Also, most work is done on each project individually. 另外,大多数工作是分别在每个项目上完成的。 So, this leads me to think I should upload each one separately. 因此,这使我认为我应该分别上传每个。 The only thing is that each of the modules work together and some have dependencies on others...so this would make it difficult to make sure everyone has the newest code, right? 唯一的问题是每个模块都可以协同工作,并且其中一些模块相互依赖...所以这将很难确保每个人都拥有最新的代码,对吗?
Maybe I am over thinking this, but could anyone point me in the right direction? 也许我正在考虑这个问题,但是有人能指出我正确的方向吗?
Well if the different projects depend on each other and you want to make sure you have the updated code than in my opinion it's easier to just have it all in the same place. 好吧,如果不同的项目相互依赖,并且您想确保拥有更新的代码,那么在我看来,将它们全部放在同一个位置会更容易。
Another thing I can think about is having the Core projects in nuget packages, but if the code is changing all the time then that's probably not really a desired solution. 我可以考虑的另一件事是在nuget包中包含Core项目,但是如果代码一直在变化,那可能并不是真正想要的解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.