How do you store third party libraries in your source control?

后端 未结 15 1580
太阳男子
太阳男子 2020-12-13 03:19

How do you store third party libraries that you use in your project in your source control?

When would you store binaries in your source control?

When would

15条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 03:26

    Assuming you are using .Net:

    I create a "Libraries" folder in my project and source control that contains any third party assemblies.

    My solution then references those assemblies and my build process pulls that folder down to our build server.

    Any one pulling your code from source control should be able to compile it without having to hunt down references and assemblies.

提交回复
热议问题