PostSharp 4.1.3-alpha

Prefix Reserved
This is a prerelease version of PostSharp.
There is a newer version of this package available.
See the version list below for details.
dotnet add package PostSharp --version 4.1.3-alpha
                    
NuGet\Install-Package PostSharp -Version 4.1.3-alpha
                    
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="PostSharp" Version="4.1.3-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PostSharp" Version="4.1.3-alpha" />
                    
Directory.Packages.props
<PackageReference Include="PostSharp" />
                    
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 PostSharp --version 4.1.3-alpha
                    
#r "nuget: PostSharp, 4.1.3-alpha"
                    
#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 PostSharp@4.1.3-alpha
                    
#: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=PostSharp&version=4.1.3-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PostSharp&version=4.1.3-alpha&prerelease
                    
Install as a Cake Tool

Aspect-Oriented Programming and Design Pattern Automation.

Product Compatible and additional computed target framework versions.
.NET Framework net35-client is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (155)

Showing the top 5 NuGet packages that depend on PostSharp:

Package Downloads
PostSharp.Patterns.Common

Code Contracts and common functionalities used by other PostSharp pattern libraries. An official PostSharp pattern library.

KC.Foundation.SF

See more at https://github.com/KolibreCredit/KC.Foundation .

eDocument.Core

eDocument Core API.

PostSharp.Sdk

PostSharp SDK allows for development of PostSharp add-ins using low-level APIs.

L.Common.Core

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on PostSharp:

Repository Stars
garymcleanhall/AdaptiveCode
Code samples to accompany the book Adaptive Code Via C#.
keyboardDrummer/SmartReactives
A .NET library that detects when an expression changes its value
postsharp/PostSharp.Samples
PostSharp Samples
Version Downloads Last Updated
2026.0.5 21,794 1/6/2026
2026.0.4-rc 684 12/18/2025
2026.0.3-rc 895 12/4/2025
2026.0.2-preview 1,070 11/13/2025
2026.0.1-preview 5,372 10/8/2025
2025.1.13 3,362 12/18/2025
2025.1.12 11,632 11/12/2025
2025.1.11 3,539 11/4/2025
2025.1.10 6,707 10/22/2025
2025.1.9 16,120 9/12/2025
2025.1.8 4,753 9/2/2025
2025.1.7 2,063 9/1/2025
2025.1.6 8,525 8/16/2025
2025.0.10 8,547 8/16/2025
2024.0.21 1,185 12/18/2025
2024.0.20 1,924 11/12/2025
2024.0.19 1,869 11/5/2025
2024.0.18 1,824 8/15/2025
2024.0.17 1,763 8/14/2025
4.1.3-alpha 9,720 11/20/2014
Loading failed