Adding Existing Files To Different Visual Studio 2010 Project

后端 未结 2 926
暖寄归人
暖寄归人 2021-02-13 04:08

It is possible to add files to a visual studio project that is located in a different directory however keep the files in those directories and update those file when you update

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-13 04:50

    1. Open Visual Studio
    2. Right lick the solution Explorer and select Add | Existing item...
    3. Select the file and question, but in the "Add" drop down select Add as Link.

    Alternatively I would suggest creating a class library project that you share in both solutions, this might benefit you in the future.

提交回复
热议问题