简体   繁体   English

如何在具有多个项目的解决方案中使用GitHub存储库

[英]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.

相关问题 如何在同一解决方案内的多个项目中使用 C# class - How to use a C# class in many projects inside the same solution C#解决方案 - 有多少个项目? - C# Solution - How many projects? 如何在GitHub中与其他解决方案的项目一起制作新解决方案? - How to make a new solution with projects of other solution in GitHub? 如何将 WebPack 集成到具有多个项目的 VisualStudio 解决方案中 - How to integrate WebPack in a VisualStudio solution with many projects 如何将同一解决方案中的 2 个项目推送到我的 Github 存储库? - How do push 2 projects in the same solution to my Github repository? 如何在一个解决方案中共享源项目之间的许多二进制文件? - How to share many binary files between source projects in one solution? 如何在许多项目中使用扩展方法。 - how to use extension methods across many projects . 如何在同一解决方案中使用多个项目的NLog - How to use NLog from multiple projects in the same solution 如何在同一解决方案中为多个项目使用 app.config? - How to use app.config for multiple projects in same solution? 如何在一个解决方案中的项目之间使用共享资源文件? - How to use shared resource file between projects in one solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM