PostSharp Ultimate 6.2.x

Released: Mar 26, 2019

v6.2.x での更新項目

6.2.14

Updated Oct 9, 2019

Fixes

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

6.2.13

Updated Sep 17, 2019

Fixes

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

6.2.12

Updated Sep 6 - Sep 10, 2019

Fixes

  • Debugger: ProcessGetMethodSequencePointsRequest does not identify modules correctly.
  • XAML: [Command] should use SynchronizationContext on which the target object was created for firing CanExecuteChanged.
  • .NET Core and .NET Standard projects for x86 platform fail to build.

6.2.11

Updated Aug 20 - Aug 22, 2019

Fixes

  • Sourcelink support is broken for non-embedded source files.
  • AspectFramework: PDB is corrupted for restructured methods with a single sequence point.
  • PortablePDB: Local variable mapping is not applied when writing local scopes.
  • BuildClient: .NET Core runtime detection fails due to multiple copies of the same runtime being registered.

6.2.10

Updated Jul 19 - Aug 1, 2019

Features

  • BuildClient: Produce a warning when unsupported tfm/sdk is used.

Fixes

  • Do not throw an exception if the master advice for an advice doesn't exist.
  • Post.Cast error message does not resolve type parameter names.
  • Build crashed when IAspectProvider provides a LogAttribute to a non-method target.
  • Debugger: StackFrame.FunctionName contains more than a method name when the frame is in an aspect method.
  • PostSharp fails to detect C# version when used via .NET Core CLI.
  • Contracts: Location validation must not accept signed counterpart of unsigned types and vice versa.
    (Breaking Change: Contracts written for validation of sbyte/short/int/long that used to accept the unsigned counterpart (and vice versa) will stop working. You will need to add logic for the alternative type).
  • PostSharp is ignored in a build after a build which fails in MSBuild phase.

6.2.10

Updated Jul 19, 2019

Features

  • BuildClient: Produce a warning when unsupported tfm/sdk is used.

Fixes

  • Contracts: Location validation must not accept signed counterpart of unsigned types and vice versa.
    (Breaking Change: Contracts written for validation of sbyte/short/int/long that used to accept the unsigned counterpart (and vice versa) will stop working. You will need to add logic for the alternative type).
  • PostSharp is ignored in a build after a build which fails in MSBuild phase.

6.2.9

Updated Jul 2, 2019

Fixes

  • Debugger: System.FormatException in CallStackFilteringService.
  • Debugger: ManagedThreadId should always be expected to fail.
  • BuildClient: compiler dependencies restore should skip first-time experience and should not override sdk.
  • BuildClient: PostSharp prefers old unsupported versions of .NET Core runtime.
  • BuildClient: generated deps.json file specifies version of an assembly that is lower than the runtime one.

6.2.7

Updated May 14, 2019

Fixes

  • .NETPortable missing targeting pack should be suppressed under VS2019.

6.2.4

Updated Apr 30, 2019

Fixes

  • VSX: Visual Studio 15.0 hangs during second start after VSX is installed.

6.2.3

Updated Apr 17, 2019

Features

  • VSX: Update VSSDK 2019 NuGet packages to RTM.
  • VSX: Restore COM005/COM002 rules.

Fixes

  • Assemblies marked with ReferenceAssemblyAttribute attribute are loaded in run-time context.
  • Other references are mixed with project references.
  • Reference items in user's postsharp.config are ignored.

6.2.2

Updated Apr 2, 2019

Fixes

  • VSX: ThreadMismatchException when starting VS2017.

6.2.1

Updated Mar 26, 2019

Features

  • Support for VS 2019 IDE.

Fixes

  • VSX: Fix DTE automation properties.