Lancements de PostSharp Threading

Released: Apr 21, 2020

Mises à jour de v6.6.x


Updated Sep 11, 2020


  • Threading: THR018 is emitted for read-only structs and should not since they are immutable.
  • DebuggerExtensibilityTask.Execute throws KeyNotFound when using MethodInterceptionAspect on extern method.
  • PlatformContext.InitializeTargetFramework is unable to parse framework name without "Version=".
  • InitializeCommonDirectories method throws NullReferenceException on GetEntryAssembly.
  • Enhancing a method that uses System.Drawing.Common's Bitmap produces AssemblyBinder...

Released: Jan 20, 2020

Mises à jour de v6.5.x


Updated Mar 6, 2020


  • VSX: Cannot access service before is has been initialized in RoslynCodeFactory.workspace.
  • VSX: IndexOutOfRangeException when failed to parse target framework moniker.
  • VSX: ArgumentOutOfRangeException on missing declaration name in PostSharpDiagnosticAnalyzer.
  • Location resolution: Could not write lines to file PostSharpAnalyzers.config (build-time error).
  • VSX: ThreadMismatchException in EnhancedSpanProvider.GetEnhancedSpansImplAsync.
  • VSX: Exception thrown when...

Released: Oct 23, 2019

Mises à jour de v6.4.x


Updated Mar 9, 2020


  • Undo/Redo WPF buttons don't display in .NET Core 3 WPF.
  • UI: Windows 10 high contrast makes wizards unreadable.
  • XAML: Undo/Redo icons disappeared from UI.


Updated Feb 6, 2020


  • MSBuild: File lock error when reading reference assemblies.
  • PostSharp.Compiler.Engine: PostSharp.Compiler.Common is available for .NET Core 2.1 only, not for .NET Standard.
  • Internal tracing throws InvalidOperationException in assembly loading before the tracing module is...

Released: Jun 21, 2019

Mises à jour de v6.3.x


Updated Nov 07, 2019


  • Intellisense documentation not available for a few PostSharp.Patterns libraries.


Updated Oct 24, 2019


  • Contracts: expose method to return formatting arguments.


Updated Oct 21, 2019


  • VSX: Editing project build properties is not reflected in aspect explorer.
  • VSX: Deadlock in CpsProjectAccessor when creating a new project.
  • VSX: postsharp.config item template is named postsharp1.config in CPS projects by default.
  • Debugger...

Released: Mar 26, 2019

Mises à jour de v6.2.x


Updated Oct 9, 2019


  • Aspect Framework: OnYield didn't get called unless you also overrode OnEntry or OnResume.
  • Aspect Framework: Setting ReturnValue in semantic advices emitted broken code.
  • Logging: CallerInfo.GetDynamic returns null and causes LoggerFactoryExtensions to throw NullReferenceException.


Updated Sep 17, 2019


  • Recordable: Improved the exception message when adding a non-recordable object to a recordable object's collection.


Updated Sep 6 - Sep...

Released: Mar 11, 2019

Mises à jour de 6.1


  • Major refactoring of the add-in to the Visual Studio debugger:
    • Makes sure the debugging experience (such as pressing F10 or F11) is natural when aspects are woven into hand-written code.
    • Focuses on the debugging of async methods. In previous versions, debugging an aspected async method could be pretty challenging. It now behaves very smoothly.
  • Adds improved support for Semantic Logging.
  • Adds Improvements for distributed logging:
    • Hierarchical Ids: PostSharp can generate ids that...

Released: Jul 9, 2018

Mises à jour de v6.0


New Platforms

  • Support for .NET Core 2.0-2.1 and .NET Standard 2.0 - PostSharp now runs natively under .NET Core 2.0 or later, which means that .NET Core projects are no longer cross-compiled from .NET Framework. Note that PostSharp 6.0 will still build only under Windows.
  • Support for Portable PDB - Now supports portable PDB files as well as "embedded" portable PDBs.
  • Support for C# 7.2 - The new in parameters and ref struct types are now properly handled.
  • Support for CPS-based...

Released: Jul 10, 2017

Mises à jour de v5.0.28


  • New Platforms
    • Visual Studio 2017 – PostSharp now supports the new MSBuild project format, side-by-side installations of VS, lightweight solution loads, and achieved significant performance improvements.
    • C# 7.0 – Tested and fixed all aspects with the new features of C# 7.0, including value-typed tasks and multiple return values.
    • .NET Core 1.1 – You can now build applications that run on .NET Core 1.1, but you can still only build and debug them on a Windows machine running Visual...