Additional Details

We no longer maintain the NuGet package for GSL library. From October 2016, we have been releasing the GSL using vcpkg.

You can download and install GSL using the vcpkg ( dependency manager:
git clone
cd vcpkg
./vcpkg integrate install
vcpkg install ms-gsl

The GSL port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

dotnet add package Microsoft.Gsl --version
NuGet\Install-Package Microsoft.Gsl -Version
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="Microsoft.Gsl" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Gsl --version
#r "nuget: Microsoft.Gsl,"
#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.
// Install Microsoft.Gsl as a Cake Addin
#addin nuget:?package=Microsoft.Gsl&version=

// Install Microsoft.Gsl as a Cake Tool
#tool nuget:?package=Microsoft.Gsl&version=

The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Microsoft.Gsl:

Package Downloads

Tool to enforce the C++ Core Guidelines

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 128,429 3/31/2016
0.1.2 3,133 3/31/2016
0.1.1 2,055 1/8/2016
0.0.1 4,065 12/1/2015