How to add a project as a reference of another project

后端 未结 1 897
名媛妹妹
名媛妹妹 2020-12-10 12:26

I\'m trying to add a project that contains some classes as a reference to another project, but I have not got, all your suggestions will be great

Thank you

相关标签:
1条回答
  • 2020-12-10 13:11

    Do the following:

    1. Open the File menu.
    2. Choose Add, then Existing project
    3. Add the project you want into your solution

    s

    1. From the solution explorer, select the References item of the project you want to need to reference the "other project" into.

    2. Click on Add reference

    3. Choose the project item

    4. Add your other project as reference to the main project.

    Alternatively, you can compile the other project as DLL and add it (as dll) to your main project.

    0 讨论(0)
提交回复
热议问题