NuGet for solutions with multiple projects

前端 未结 6 1043
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 04:39

Suppose I have a solution with 3 projects:

  • Core
  • UI
  • Tests

Some of the NuGet packages I use will apply to all 3 projects. Some w

6条回答
  •  青春惊慌失措
    2020-12-02 05:25

    You should use the "Add Library Package Reference" for all your external library on every project in your solution. You'll end up with a packages.config per project.

    However, you'll download the package only one time and reuse them locally for all your other projects.

提交回复
热议问题