Overview
PostSharp is an open platform. All assembly analysis and transformation tasks are implemented in plug-ins. The role of the platform is to load these plug-ins, to resolve dependencies between tasks, and to invoke tasks at the appropriate tasks.
PostSharp specifies the following configuration files:
- The application configuration file (a file
named
PostSharp-Platform.configand located in the same location asPostSharp.Core.dll) is unique for every installation of PostSharp; it contains the definition of global properties and tasks, and sets the default search path. - Each plug-in is described by a plug-in configuration
file (a file with extension
.psplugin), defining the tasks included in this plug-in. -
Project files (with extension
.psproj) imports plug-ins and defines which tasks should be executed on the assembly. PostSharp comes with a single project file namedDefault.psproj, which will automatically detect required tasks based on a brief analysis of the processed assembly. However, it is possible to provide your own project file.
XML Schema and Reference Documentation
The configuration file format is specified by the
PostSharpConfiguration.xsd XML schema located in the
PostSharp directory.
Configuration files are documented in the XML Reference.