How to Properly Use NuGet with Team Development?

后端 未结 2 1197
無奈伤痛
無奈伤痛 2021-02-19 13:53

So I would like to use NuGet to manage the various projects I use for a specific project my team and I are working on. Up to this point, I have placed my .js library files in th

2条回答
  •  名媛妹妹
    2021-02-19 14:16

    NuGet, like Nexus, are artifact repository (artifact being any type of deliverable, including potentially large binary).

    The side-effect is for you to not store in an VCS (Version Control System) elements that:

    • wouldn't benefit from VCS features (branching, merging)
    • would increase significantly the size of the VCS repository (no delta or weak delta storage)
    • would be quite hard to remove from a VCS repository (designed primarily to keep the history)

    But the goal is for you to declare what you need (and let NuGet fetch it for you) instead of storing it yourself.
    So you can version /Scripts as a placeholder, but you don't need anymore to versioned any of its content now fetched automatically.

提交回复
热议问题