I created a Visual Studio C# solution with one project.
Then I created another similar Visual Studio C# solution with one project.
1. Now since the projects are similar I would like to combine the two projects into one solution so I have two projects in one solution.
2. The two projects have a lot of duplicate code, so I'd like to create a 3rd project in the same solution and move all the duplicate code to the 3rd project, and then have projects #1 & #2 reference that common code, somehow.
Those are my two questions: How do I merge two solutions into one solution with two projects; and then if I create a 3rd project and put common code in that 3rd project, how do I access that common code from projects #1 and #2?
I want the result to be two different executables, which is why I have 2 projects; but of course it would be nice not to have all that duplicate code in both projects.
(I have Visual Studio 2010 at home and 2013 at work.)