Paint.NET.Plugin.SDK
5.2.0
dotnet add package Paint.NET.Plugin.SDK --version 5.2.0
NuGet\Install-Package Paint.NET.Plugin.SDK -Version 5.2.0
<PackageReference Include="Paint.NET.Plugin.SDK" Version="5.2.0" />
<PackageVersion Include="Paint.NET.Plugin.SDK" Version="5.2.0" />
<PackageReference Include="Paint.NET.Plugin.SDK" />
paket add Paint.NET.Plugin.SDK --version 5.2.0
#r "nuget: Paint.NET.Plugin.SDK, 5.2.0"
#:package Paint.NET.Plugin.SDK@5.2.0
#addin nuget:?package=Paint.NET.Plugin.SDK&version=5.2.0
#tool nuget:?package=Paint.NET.Plugin.SDK&version=5.2.0
Paint.NET Plugin SDK
Reference assemblies for developing Paint.NET effect and file type plugins.
Use this package instead of the DLLs from a local Paint.NET installation. The package contains only reference assemblies: they describe the public API but contain no code, and NuGet does not copy them to your output directory. At runtime, Paint.NET supplies the real assemblies.
Sample effects, including GPU effects written with ComputeSharp.D2D1, are available at https://github.com/paintdotnet/PdnV5EffectSamples. Its project file includes a copy-pastable block for implementing trim-and-merge so that you can distribute your plugin as a single DLL.
MSBuild properties
The package defines $(PdnPluginSdkRefDir) in any project that references it. It is the full path of the folder that contains the Paint.NET reference assemblies, without a trailing backslash. It is available everywhere in your project file, in properties, items, and targets.
Use it when a build step needs to resolve the Paint.NET assemblies, such as a post-build step that merges your plugin's dependencies into a single DLL with ILRepack:
<Exec Command=""$(PkgILRepack)\tools\ilrepack" /internalize /union "$(TargetPath)" ... /lib:"$(PdnPluginSdkRefDir)" /out:"$(TargetPath)"" />
See the sample effects project which uses this for its trim-and-merge build steps.
Links
- API reference: https://paintdotnet.github.io/apidocs/
- Plugin Developer's Central on the forum: https://forums.paint.net/forum/17-plugin-developers-central/
- Paint.NET Discord
#pdn-plugin-developmentchannel: https://discord.gg/6V3Ace9SBg
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0-windows7.0 is compatible. |
-
net11.0-windows7.0
- 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 |
|---|---|---|
| 5.2.0 | 0 | 11/10/2026 |
| 5.2.0-beta.5.200.9793.3533 | 102 | 10/24/2026 |