2

So currently we are in a situation where we have acquired quite a large code base. Every once in a while we start new projects (new Visual Studio Solutions) that require parts of our already existing code base. Now the tedious part begins once you add one of these projects to the new Solution because this project requires other project files that it depends on (which in-tern again require different other projects).

So my question is: Is there an easy way in visual studio to tell it to crawl a certain folder for these missing dependencies? So that it loads all the respective .proj files into my solution that it requires? This sounds like such an obvious thing to me that I am certain there must be a better way?

Thanks a lot in advance Oli

Oliver Bernhardt
  • 399
  • 1
  • 4
  • 18
  • Do you really need to include these projects as source code? Maybe, you'll build them separately (as a some sort of framework) and include them as a nuget package(s), deployed on your own nuget server? – Dennis Jun 06 '16 at 07:47
  • All these projects are constantly evolving. So yes, I would like to add them as source code. I don't see why that should be so hard for Visual Studio? I mean it already knows the ID of the missing dependency. If I pass it the folder location of our SVN repository it should be able to crawl all .proj files for the matching dependency (and do this recursively) right ? – Oliver Bernhardt Jun 06 '16 at 07:54
  • Did you ever find a solution for this? – Asaf Mar 03 '17 at 08:27
  • No, to this day I have not... – Oliver Bernhardt Apr 05 '17 at 12:53
  • What Dennis said is completely possible, you can keep a repository for that massive code base you acquired, and deployed them as nuget packages or having a shared assemblies folder (within a version control system) thus you can evolve them while adding 'em to your solutions. Also, you can build your own Load Manager (like this https://marketplace.visualstudio.com/items?itemName=kolomiets.SolutionLoadManager) with this (https://msdn.microsoft.com/en-us/library/hh966591.aspx and this https://stackoverflow.com/questions/1891035/easy-way-to-add-multiple-existing-csproj-to-a-visual-studio-solution) – JCM Apr 25 '17 at 18:35

0 Answers0