Build Nuget servers (1) and build nuget servers
Background
The company's projects are structured in modules. Therefore, the dependencies between various projects are not only chaotic but also complex. What makes people more uncomfortable is to compile the entire solution, it will make you have a kind of unlovable skills. To solve these problems, I decided to build an nuget server to reduce the time for compiling the underlying class libraries.
Practice
This article mainly aims to achieve the following three goals:
(1) how to generate an nuget package
(2) Build an nuget Server
(3) how to reference the packages in the self-built nuget server in the project
How to generate an Nuget package
First download the NuGetPackageExplorer Installation File (https://npe.codeplex.com /)
After the installation is complete, the page is displayed by default, such:
Press Ctrl + N to go to the new package page (for example)
Directly drag the dll you want to process into NugetPackageExplorer (for example)
Click "Yes. Press the shortcut key (Ctrl + k) to quickly edit the package (dll) information.
Save to complete the configuration of a package (nupkg.
The first part is here first. You are welcome to shoot bricks and criticize them.