Skip to content

PostSharp 2027.0.7-preview

Pre-release
Pre-release

Choose a tag to compare

@gfraiteur gfraiteur released this 27 Oct 16:07

PostSharp 2027.0.7-preview is based on v2027.0.6-preview, plus the following changes.

The packages of 2027.0.6-preview were never published to nuget.org, so 2027.0.7-preview is the first build that ships the changes listed in v2027.0.6-preview.

Highlights

  • postsharp introspect. The postsharp command line tool now answers questions about how PostSharp applied aspects to a project or a solution, from the files of its last build: which aspects apply to a declaration and why, in what order the transformations run, and how many lines of code the aspects saved. The output is JSON for AI agents and text for a person (#332).

PostSharp.Testing.AspectTesting

  • #333 New: the @CompareWeavingSymbols directive compares the weaving symbol file (.pssym) of a test with a .t.pssym snapshot next to the test, as @CompareTransformedCode does with a .t.cs file. The snapshot holds the content, not the encoding: the PostSharp version and the line counts are placeholders, and the identifiers of the aspect instances are numbered by first appearance. A .t.<tfm>.pssym file replaces the snapshot for one target framework, and a snapshot is accepted like the other expected files.

Resources