Advice on how to organise solutions / projects RRS feed

  • Question

  • Hi,

    I have some experience writing C++ Win32 apps but have been using an old version of Borland C++ for many years.  I recently upgraded to Visual Studio 2010 and want to modernise the way all my projects and source code are stored and organised - I've installed AnkhSVN so that I can add all my projects to a local Subversion repository.

    As a Visual Studio newbie, I'm looking for advice on the best practices in terms of how to organise projects into solutions, how to share code between projects, etc.  Is there a place where such 'best practices' are described, for various types/sizes of project?

    In particular, I have several projects that all rely on a specific set of source files for reading from data files - let's call them 'DataReader'.  I'd like all the projects to refer to the same physical source files, rather than copying the DataReader files into each project separately.  It seems that all the related projects should be in a single solution, but where then do the DataReader files go?  Should I set up a small DataReader project just for these source files, or something like that?

    Thanks for any pointers,


    Thursday, November 18, 2010 2:22 PM