Repository navigation
PostSharp 2027.0.7-preview
Pre-release
Pre-release
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. Thepostsharpcommand 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
@CompareWeavingSymbolsdirective compares the weaving symbol file (.pssym) of a test with a.t.pssymsnapshot next to the test, as@CompareTransformedCodedoes with a.t.csfile. 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>.pssymfile replaces the snapshot for one target framework, and a snapshot is accepted like the other expected files.