Visual Studio: Using external files (without copying them)

前端 未结 3 632
深忆病人
深忆病人 2020-12-05 18:16

I want to import an enum class (.cs) into my project that is generated by another service. So if that service will update this file, it should be automatically updated in my

3条回答
  •  余生分开走
    2020-12-05 18:46

    Follow the setps:

    • Right click on the project go to Add
    • Select Existing Item
    • Select the file
    • On the Add button click the drop down button and select "Add as a Link"

    enter image description here

提交回复
热议问题