ProGet is a commercial private repository software, it has a free version and a paid version, it is actuallyNot only does it support managed NuGet packages。 I have also written two articles on building a private NuGet repository before, as follows:
ProGet supports multiple sources, including:NuGet, PowerShell, Docker, Ruby Gems, VSIX, Chocolaty, npm, Bower, Maven, PyPI, Debian, and Helm。
ProGet Edition License Restrictions:The hyperlink login is visible.
This article uses Docker to install ProGet on a CentOS system. First, the steps to install Docker on the CentOS system are as follows:
The installation of ProGet also requires a SQL Server database, the installation steps are brief, you can refer to the following:
After installing the database service, you need to create a ProGet database, connect to the database using Microsoft SQL Server Management Studio 18, and execute the following command:
Create a ProGet container using Docker with the following command:
Reference Documentation:The hyperlink login is visible.
Once the installation is complete,The default account and password are: admin/admin, as shown in the figure below:
Create a feed with the name: itsvse, as shown below:
Create an API Keys, it will be convenient for us to push the nuget package through the API Key, as shown in the figure below:
Create a new .NET Core 3.1 library, edit the project .csproj file (include the PDB file in the NuGet package), and add the following:
Try to generate a nuget package using dotnet with the following command:
Package metadata configuration reference:The hyperlink login is visible.
Go to the bin\Debug directory,Push the nuget package to the ProGet repository, the command is as follows:
Finally, open the VS tool and add the NuGet source configuration as follows:
About symbols and source server references:The hyperlink login is visible.
(End)
|