PostSharp 3.1.16-beta

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 3.1.16-beta
                    
NuGet\Install-Package PostSharp -Version 3.1.16-beta
                    
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="3.1.16-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PostSharp" Version="3.1.16-beta" />
                    
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 3.1.16-beta
                    
#r "nuget: PostSharp, 3.1.16-beta"
                    
#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@3.1.16-beta
                    
#: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=3.1.16-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PostSharp&version=3.1.16-beta&prerelease
                    
Install as a Cake Tool

A comprehensive Aspect-Oriented Programming (AOP) framework for .NET.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
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 20,128 1/6/2026
2026.0.4-rc 683 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,365 10/8/2025
2025.1.13 3,320 12/18/2025
2025.1.12 11,537 11/12/2025
2025.1.11 3,521 11/4/2025
2025.1.10 6,687 10/22/2025
2025.1.9 16,008 9/12/2025
2025.1.8 4,733 9/2/2025
2025.1.7 2,046 9/1/2025
2025.1.6 8,469 8/16/2025
2025.0.10 8,528 8/16/2025
2024.0.21 1,168 12/18/2025
2024.0.20 1,907 11/12/2025
2024.0.19 1,852 11/5/2025
2024.0.18 1,807 8/15/2025
2024.0.17 1,746 8/14/2025
3.1.16-beta 7,895 10/31/2013
Loading failed