I suppose your existing project is a project producing an executable? Then you have two choices: (1) Create an entirely new project in your second solution which produces a library from the same files the old one has (except for the file containing main()). That may require some refactoring there (e.g., pull out everything from the "main" file there and put it in separate source files). (2) Create a library project in your first solution (the one that compiles) and simply use that library in the second solution. That wold be preferred from a software engineering standpoint.
↧