PostSharp Diagnostics 6.4.x

Released: Oct 23, 2019

Aggiornamenti in v6.4.x

6.4.9

Updated Mar 9, 2020

Fixes

  • 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.

6.4.8

Updated Feb 6, 2020

Fixes

  • 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.

6.4.7

Updated Jan 31, 2020

Fixes

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

6.4.6

Updated Jan 23, 2020

Fixes

  • 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.

6.4.5

Updated Dec 18, 2019

Fixes

  • 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.

6.4.4

Updated Dec 09, 2019

Features

  • Support for .NET Core 3.1.

Fixes

  • Aspect Framework: LocationTransformationPipeline.ImplementAccessor throws NullReferenceException.

6.4.3

Updated Dec 01, 2019

Fixes

  • 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.

6.4.2

Updated Nov 08, 2019

Features

  • 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.

Fixes

  • 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.

6.4.1

Updated Oct 23, 2019

Features

  • 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.

Fixes

  • 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.