Dependencies and references - What exactly should I reference?

前端 未结 3 604
长情又很酷
长情又很酷 2021-01-13 03:02

I am wondering what to include when building my project. I have a library I need to reference for my project to build but that library has 10 dependencies itself. Should I r

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-13 03:27

    It's just opinion. Either way will work.

    Personally I hate post-build BAT files, so I would include the dependencies to get them copied to the output directory.

    Another option is to put a link to them in your project - like in a resources directory. Have this set to BuildAction=None, and CopyToOutputDirectory=CopyIfNewer

提交回复
热议问题