SponsorCheck 0.1.3
See the version list below for details.
dotnet add package SponsorCheck --version 0.1.3
NuGet\Install-Package SponsorCheck -Version 0.1.3
<PackageReference Include="SponsorCheck" Version="0.1.3"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="SponsorCheck" Version="0.1.3" />
<PackageReference Include="SponsorCheck"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add SponsorCheck --version 0.1.3
#r "nuget: SponsorCheck, 0.1.3"
#:package SponsorCheck@0.1.3
#addin nuget:?package=SponsorCheck&version=0.1.3
#tool nuget:?package=SponsorCheck&version=0.1.3
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.
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.