PsDotNet 2.4.0
dotnet add package PsDotNet --version 2.4.0
NuGet\Install-Package PsDotNet -Version 2.4.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="PsDotNet" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PsDotNet" Version="2.4.0" />
<PackageReference Include="PsDotNet" />
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 PsDotNet --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PsDotNet, 2.4.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 PsDotNet@2.4.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=PsDotNet&version=2.4.0
#tool nuget:?package=PsDotNet&version=2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PsDotNet
A strongly typed, intuitive C# library used to automate Adobe Photoshop via COM.
dotnet add package PsDotNet
Quick start
using PsDotNet;
// Connect to the highest installed version of Photoshop
IPsApplication app = PsConnection.StartAndConnect();
// Or target a specific version by name ("2025", "CS6", ...)
IPsApplication app = PsConnection.StartAndConnect("2025");
// Create a new document
IPsDocument doc = app.Documents.Add(512, 512, 72, "MyDoc", EPsDocumentMode.psRGB);
// ... do things ...
For a full working sample, see the PsDotNet.QuickStart project on the public repo.
Supported Photoshop versions
CS6 through CC2026.
Requirements
- Windows
- .NET 8 or newer
- Adobe Photoshop installed
Listener (download)
A WPF UI for inspecting Photoshop's COM surface ships separately. Download from https://github.com/nodewerks/psdotnet/releases.
License
MIT — see https://github.com/nodewerks/psdotnet/blob/main/LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows7.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Management (>= 8.0.0)
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 |
|---|---|---|
| 2.4.0 | 123 | 6/21/2026 |
| 2.3.0 | 100 | 6/20/2026 |
| 2.3.0-beta.1 | 61 | 6/20/2026 |
| 2.2.0 | 107 | 6/20/2026 |
| 2.2.0-beta.4 | 61 | 6/20/2026 |
| 2.2.0-beta.3 | 69 | 6/20/2026 |
| 2.2.0-beta.2 | 70 | 6/20/2026 |
| 2.1.0 | 108 | 6/19/2026 |
| 2.1.0-beta.2 | 62 | 6/19/2026 |
| 2.1.0-beta.1 | 63 | 6/19/2026 |