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
                    
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="Paint.NET.Plugin.SDK" Version="5.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Paint.NET.Plugin.SDK" Version="5.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Paint.NET.Plugin.SDK" />
                    
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 Paint.NET.Plugin.SDK --version 5.2.0
                    
#r "nuget: Paint.NET.Plugin.SDK, 5.2.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 Paint.NET.Plugin.SDK@5.2.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=Paint.NET.Plugin.SDK&version=5.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Paint.NET.Plugin.SDK&version=5.2.0
                    
Install as a Cake Tool

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="&quot;$(PkgILRepack)\tools\ilrepack&quot; /internalize /union &quot;$(TargetPath)&quot; ... /lib:&quot;$(PdnPluginSdkRefDir)&quot; /out:&quot;$(TargetPath)&quot;" />

See the sample effects project which uses this for its trim-and-merge build steps.

Product Compatible and additional computed target framework versions.
.NET net11.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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