NGitLab.Mock 13.0.0

dotnet add package NGitLab.Mock --version 13.0.0
                    
NuGet\Install-Package NGitLab.Mock -Version 13.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NGitLab.Mock" Version="13.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NGitLab.Mock" Version="13.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NGitLab.Mock" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NGitLab.Mock --version 13.0.0
                    
#r "nuget: NGitLab.Mock, 13.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NGitLab.Mock@13.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NGitLab.Mock&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NGitLab.Mock&version=13.0.0
                    
Install as a Cake Tool

NuGet

What is NGitLab?

NGitLab is a .NET client implementation for the GitLab REST API.

Usage

Start by creating a GitLabClient instance:

var client = new GitLabClient("https://mygitlab.example.com", "your_private_token");

Then use its properties. You can obtain the private token in your account page. You may want to create a custom user for the API usage.

For further info about the GitLab API, refer to the official documentation

Where can I get it?

Get it from nuget.org. You can simply install it using the dotnet CLI:

dotnet add package NGitLab

Running Unit Tests locally

  • Install Docker on your machine
  • It's recommended to use WSL version 2 (see here)
  • Running the Docker-based integration tests (NGitLab.Tests) under Linux requires PowerShell (pwsh) to be installed, because they start a GitLab runner that uses the PowerShell shell (see here)

Contributing

See CONTRIBUTING.md. In particular, changes to the public API are checked by snapshot tests: the page explains how to check them and how to update the snapshots.

Thanks

Thanks to Scooletz for creating the original project.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.0.0 11 12/1/2026
12.6.1 315 11/2/2026
12.6.1-beta 98 11/2/2026
12.5.0 275 10/9/2026
12.4.0 181 10/5/2026
12.3.0 16,922 9/11/2026
12.2.0 3,443 8/31/2026
12.1.0 1,271 8/27/2026
12.0.0 5,747 7/31/2026
11.9.0 4,945 7/2/2026
11.8.0 469 6/23/2026
11.7.0 3,052 4/8/2026
11.6.2 252 4/2/2026
11.6.1 279 3/24/2026
11.6.0 227 3/23/2026
11.5.0 889 3/2/2026
11.4.1 269 2/23/2026
11.4.0 268 2/17/2026
11.3.2 750 2/5/2026
11.3.1 231 2/4/2026
Loading failed