https://docs.microsoft.com/fr-fr/nuget/consume-packages/migrate-packages-config-to-package-reference
nuget spec <assembly-name>.dll
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<!-- Required elements-->
<id></id>
<version></version>
<description></description>
<authors></authors>
<!-- Optional elements -->
<!-- ... -->
</metadata>
<!-- Optional 'files' node -->
</package>
nuget pack
:: Add nuget source
nuget source Add -Name "GILAB-GROUP_NAME" -Source "https://gitlab.com/api/v4/groups/GROUP_ID/-/packages/nuget/index.json" -UserName "USERNAME" -Password "SECRET_SSH_KEY"
:: Push on nuget source
nuget push "PACKAGE_NAME.nupkg" -src "https://gitlab.com/api/v4/groups/GROUP_ID/-/packages/nuget/index.json"