Why we need a package manager like Nuget?

后端 未结 2 1983
傲寒
傲寒 2020-12-18 02:41

I know Package Manager like NuGet help us when we want to use third party components.

From Nuget Codeplex Page:

NuGet is a free, open source

2条回答
  •  旧巷少年郎
    2020-12-18 02:58

    Reason to use NuGet is you don't have to ship all the libraries in your project, reducing the project size. With NuGet Power Tools, by specifying the package versions in the Packages.config file, you will be able to download all the required libraries the first time you run the project.

    Live Exapmle : Reduced project size matters while deployment of project.Like if solution have 500Mb of code and 200Mb of packages size then extra 200mb really cost to upload project each time.Instead of uploading concrete dll files we need to just set their reference in packages.config file.

提交回复
热议问题