Post­Sharp Documentation / Deployment and Configuration / Deployment / Post­Sharp Components

PostSharp Components

PostSharp is composed of the following artifacts:

PostSharp Tools for Visual Studio

This is the user interface of PostSharp. It extends the Visual Studio editor and provides a new menu, option pages, toolbox windows, diagnostics, code actions, and debugging enhancements.

For details regarding the installation of this component, see Installing PostSharp Tools for Visual Studio and Installing PostSharp Tools for Visual Studio Silently.

NuGet packages

All build-time and run-time artifacts are released as NuGet packages. Build-time packages are required to build your projects, but only the content of run-time packages is required to execute your applications.

If you build NuGet packages that use PostSharp but does not define custom aspects, your package should only reference the relevant PostSharp run-time packages, not the build-time ones.

Note Note

The PostSharp License Agreement refers to run-time packages as redistributables. The license agreement allows for royalty-free redistribution of run-time packages, but stricter conditions apply to the redistribution of build-time packages.

The following table lists all PostSharp packages:

Run-time package

Build-time package

Description

PostSharp.Redist

PostSharp

PostSharp Framework. The build-time package includes the PostSharp compiler.

PostSharp.Patterns.Common.Redist

PostSharp.Patterns.Common

Common logic shared between pattern libraries. Code contracts.

PostSharp.Patterns.Aggregation.Redist

PostSharp.Patterns.Aggregation

Aggretable and Disposable aspects.

PostSharp.Patterns.Model.Redist

PostSharp.Patterns.Model

NotifyPropertyChanged aspect and Undo/Redo.

PostSharp.Patterns.XAML.Redist

PostSharp.Patterns.XAML

Command, Dependency Property and Attached Property aspects. WPF controls for undo/redo.

PostSharp.Patterns.Threading.Redist

PostSharp.Patterns.Threading

Threading models, thread dispatching aspects, deadlock detection.

PostSharp.Patterns.Caching.Redist

PostSharp.Patterns.Caching

Caching aspect.

PostSharp.Patterns.Caching.Redis

N/A

Redis connector for PostSharp.Patterns.Caching.

PostSharp.Patterns.Caching.Azure

N/A

Azure connector for PostSharp.Patterns.Caching.

PostSharp.Patterns.Diagnostics.Redist

PostSharp.Patterns.Diagnostics

Logging aspect.

PostSharp.Patterns.Diagnostics.ApplicationInsights

N/A

Application Insights connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.CommonLogging

N/A

Common.Logging connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.EnterpriseLibrary

N/A

Enterprise Library connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.Log4Net

N/A

Log4Net connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.Microsoft

N/A

Microsoft.Extensions.Logging connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.NLog

N/A

NLog connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.Serilog

N/A

Serilog connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.Tracing

N/A

System.Diagnostics connector for PostSharp.Patterns.Diagnostics.

PostSharp.Patterns.Diagnostics.Loupe

N/A

Loupe connector for PostSharp.Patterns.Diagnostics.

Zip distribution

For teams that cannot use NuGet, PostSharp also comes as one zip archive containing the files otherwise contained in all NuGet packages.

In this archive, the lib folder contains run-time libraries (redistributables), and the tools folder contains all build-time components.

See Installing PostSharp without NuGet for details.

See Also