
Password: Your personal access token or deploy token. Username: Your GitLab username or deploy token username.
In the NuGet section, select Sources to view a list of all your NuGet sources.On macOS, select Visual Studio > Preferences. To use the project-level NuGet endpoint, add the Package Registry as a source with Visual Studio: Nuget source Add -Name "GitLab" -Source "" -UserName carol -Password 12345678asdfĪdd a source with Visual Studio Project-level endpoint To use the project-level NuGet endpoint, add the Package Registry as a source with nuget:
SSH SHELL STREAM CSHARP INSTALL
Configuration file Add a source with the NuGet CLI Project-level endpointĪ project-level endpoint is required to publish NuGet packages to the Package Registry.Ī project-level endpoint is also required to install NuGet packages from a project. You can now add a new source to NuGet with: Your group ID, which is found on your group’s home page. Your project ID, which is found on your project’s home page. Depending on the endpoint level you use, either:. With the scope set to read_package_registry, write_package_registry, or You can generate a personal access token. A personal access token or deploy token. Package Registry as a source for your packages. To publish and install packages to the Package Registry, you must add the Add the Package Registry as a source for NuGet packages To work around this limitation, set up authentication. Because of how NuGet handles credentials, the Package Registry rejects anonymous requests on the group-level endpoint.