none
Sharing class between projects RRS feed

  • Question

  • This has more then likely been answered but I can't seem to find a solution that work, besides I'm now to visual studio so maybe I have a language block.

    The problem is I have a solution that has several projects the each generates an .exe application.  I want them to be able to share certain classes between the projects and have tried the following:

    I put the classes in one project and made the other projects reference that project.  The referencing project could not find the header files for the class.

    I added include directories in the additional include property.  The headers were found, but I couldn't figure out how to to add the obj file for the class.

    I used the add existing feature to add the files to the other projects, and the include files still could not be found.  

    This has to be possible, I am just not able to figure it out.  Any guidance would be appreciated.

    Thank You

    • Moved by Jiayi Li Wednesday, September 23, 2015 5:37 AM
    Monday, September 21, 2015 7:12 PM

Answers