PostSharp Diagnostics 6.4.x

Released: Oct 23, 2019

Aggiornamenti in 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 initialized.
  • BuildClient: Generated deps.json and runtimeconfig.json files are not correctly synchronized.


Updated Jan 31, 2020


  • Aspect Framework: Method-level IInstanceScopedAspect cannot be applied to a static method.
  • BuildClient: Generated deps.json and runtimeconfig.json files are not correctly synchronized.


Updated Jan 23, 2020


  • Aspect Framework: [assembly:InstanceLevelAspect] can't filter out static classes.
  • Breaking Change: MulticastAttributes.Instance and MulticastAttributes.Static are no longer ignored in AttributeTargetTypeAttributes and TargetTypeAttributes.


Updated Dec 18, 2019


  • Command: Misleading message XAM070 when there is no private setter.
  • Build error when no license is installed on the machine does not contain path to Settings.UI.


Updated Dec 09, 2019


  • Support for .NET Core 3.1.


  • Aspect Framework: LocationTransformationPipeline.ImplementAccessor throws NullReferenceException.


Updated Dec 01, 2019


  • MergeAppConfig is invoked in .NET Core projects.
  • BuildClient uses a library selected by NuGet for target framework instead of selecting the best assembly for the runtime framework.
  • PostSharp.Patterns.Diagnostics package contains wrong assembly for net47 (net46).
  • PostSharp crashes on .NET Core SDK 3.0.101.
  • PostSharp package should contain unzipper tool in build/_common directory.
  • Aspect Framework: Location validation aspects may conflict with another aspect on a different parameter of the same method.
  • Cannot build a .NET Core 3 x86 project.
  • Publishing a .NET Core 3 project fails with System.ArgumentException: Invalid image.
  • PostSharpValidateLanguageVersion and GetMaxLangVersion tasks should handle "preview" language version.
  • Build fails when targeting .NET Core 3 and win-x64 target runtime.
  • Remove the dependency on _CopyFilesMarkedCopyLocal target in build process.
  • Aspect Framework: PostSharp's [Introduce...] attributes use tail calls even where not legal.
  • ReflectionObjectBuilder throws AssertionFailedException when a type in RuntimeBindingContext is not compatible with the same type in ReferenceBindingContext.
  • Improve the exception message when serialization or deserialization of aspects throws.


Updated Nov 08, 2019


  • VSX: Notification when the subscription is expiring.
  • Aspect Framework: You can now order semantically-advised method boundary aspects before non-semantically-advised aspects on iterator methods and methods that return IEnumerable.


  • Unzipper doesn't run without .NET Core 2.1 being installed.
  • XAML: Dependency properties: property value should not be checked in OnLocationInitialized when value is not set.
  • Aspect Framework: Indexer was not introduced correctly via IntroduceMember when no indexer was already present in the target type.
  • Aspect Framework: When an aspect was applied to another aspect, it was silently ignored. Explicit application will emit a warning now.
  • Emit build-time profiling information as csv file instead of appending to the log.
  • XAML: Dependency properties: PropertyMetadata.DefaultValue is not set.
  • INotifyPropertyChanged: You can now apply NotifyPropertyChanged on iterator methods alongside [Log] and threading aspects.


Updated Oct 23, 2019


  • C# 8 is now supported.
  • Support for .NET Core 3.0 WPF and WinForms.
  • Support for .NET Core 3.0 and .NET Standard 2.1.
  • Aspect Framework: Added the advice OnInstanceLocationInitialized as a standalone advice and into LocationInterceptionAspect. Also, the OnSetValue advice now intercepts a write in some cases where it previously did not.


  • AspectInitializationClient for type is not ordered before the one for members.
  • AntLR package causes ambiguous match during type mapping (.NET Core 3.0).
  • Multicasting: AttributeTargetTypes required the user to put both arity and generic parameter names.
  • XAML: Dependency properties ignored auto-property initializers.
  • Aspect Framework: OnInstanceConstructed causes the build to fail if applied to a struct.
  • Aspect Framework: OnInstanceConstructed advice causes the build to fail if the aspect is generic.