SponsorCheck 0.1.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SponsorCheck --version 0.1.3
                    
NuGet\Install-Package SponsorCheck -Version 0.1.3
                    
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="SponsorCheck" Version="0.1.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SponsorCheck" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="SponsorCheck">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 SponsorCheck --version 0.1.3
                    
#r "nuget: SponsorCheck, 0.1.3"
                    
#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 SponsorCheck@0.1.3
                    
#: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=SponsorCheck&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=SponsorCheck&version=0.1.3
                    
Install as a Cake Tool

SponsorCheck

Build-time sponsorship verification for NuGet packages — nudge consumers of an OSS library to sponsor its author, in the spirit of the Open Source Maintenance Fee. Gentle nudging plus honesty rather than runtime DRM.

Add as a development dependency to the library project. At pack time it fetches the author's sponsor list from the configured platforms (GitHub Sponsors, Open Collective, Polar), hashes the accounts, and bundles a build-time verifier into the produced NuGet package. Consumers of the package then declare one of three license modes per package: explicit ignore (with a build warning), platform sponsorship match, or time-bounded private license.

OSS author setup

<PackageReference Include="SponsorCheck"
                  Version="1.0.0"
                  PrivateAssets="all"
                  GitHubSponsorsAccount="acmecorp"
                  OpenCollectiveAccount="acme-collective"
                  PolarAccount="acme" />

At least one <Platform>Account must be set. Credentials per platform come from MSBuild properties / env vars: GITHUB_TOKEN, OPENCOLLECTIVE_API_KEY, POLAR_API_KEY (the last is required).

Consumer license modes (per package, mutually exclusive)


<PackageReference Include="ThePackage" Version="1.0" GitHubSponsorAccount="alice" />


<PackageReference Include="ThePackage" Version="1.0" SponsorshipLicensedUntil="2026-12" />


<PackageReference Include="ThePackage" Version="1.0" SponsorshipLicenseIgnored="true" />

Verification runs in Release config only.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.5.0 43 5/23/2026
0.4.0 120 5/17/2026
0.3.0 133 5/8/2026
0.2.0 93 5/6/2026
0.1.8 110 5/4/2026
0.1.7 104 5/3/2026
0.1.6 94 5/3/2026
0.1.5 94 5/3/2026
0.1.4 100 5/3/2026
0.1.3 95 5/3/2026
0.1.2 96 5/3/2026
0.1.1 100 5/3/2026
0.1.0 94 5/3/2026