PostSharp 2.1 — Release Notes

Installation Instructions

Installation can be as simple as executing the setup program or adding a NuGet package to your project. Some teams prefer to copy PostSharp to their source repository. See the online documentation for detailed deployment instructions.

Hotfixes on top of PostSharp 2.1 RTM

Build Date Type ID Description
2.1.7.29 2012-02-20 Issue 3008 MulticastPointcutEngine throws InvalidCastException when the aspect is applied on something different than a type.
2.1.7.29 2013-02-20 Issue 3006 Invalid metadata generated when member/type name differ in Unicode but are equal under InvariantCulture.
2.1.7.29 2012-12-18 Issue 2539 MulticastAttributeTasks.BuildMulticastAttributeUsageAttribute throws AssertionFailedException.
2.1.7.28 2012-12-11 Issue 2629 Invalid custom attribute copied from dependent assembly to the custom attribute pool.
2.1.7.27 2012-12-11 Issue 2548 Add more logging in the MSBuild pipe client.
2.1.7.27 2012-12-11 Issue 2589 NuGet PostSharp 2.x package restore asks to install the PostSharp 2.x VS extension although the PostSharp 3 CTP VSIX has already been installed.
2.1.7.26 2012-12-03 Issue 2546 Got message: Version of file "postsharp.srv.4.0-x86.exe" is 0.0.0.0, but version 2.1.7.25 was expected.
2.1.7.25 2012-11-30 Enhancement 2538 Check the pipe server version before starting the process.
2.1.7.24 2012-11-29 Issue 2532 Leases from the license server are improperly read from the lease cache.
2.1.7.24 2012-11-29 Issue 2520 License server throws HttpException - Request timed out.
2.1.7.23 2012-11-27 Issue 2463 IntroduceInterface may override the wrong member.
2.1.7.23 2012-11-27 Issue 2278 Update check should not be performed when running unattended.
2.1.7.23 2012-11-26 Issue 2305 CompilerGeneratedAttribute missing from MulticastImplementationDetails.
2.1.7.23 2012-11-26 Issue 2310 MoveOrCopyWithRetry.IsLockException throws NullReferenceException.
2.1.7.22 2012-10-22 Enhancement 2128 Post-compilation fails when there is an error with debugging symbols of a single method.
2.1.7.21 2012-10-15 Issue 2099 Trial registration: email validation rejects addresses with upper case.
2.1.7.21 2012-10-15 Enhancement 2102 Support for StructLayoutAttribute and FieldOffsetAttribute in CustomAttributeIntroductionAspect.
2.1.7.20 2012-10-10 Regression 1952 No guard prevents LocationInterceptionAspect to be applied on abstract members.
2.1.7.20 2012-10-10 Issue 1828 PostSharp executable not found when MSBuild runs in 32-bit but PostSharp in 64-bit.
2.1.7.20 2012-10-10 Regression 1826 MSBuild caches PostSharp.MSBuild.[Build].dll and creates versioning conflitcs.
2.1.7.20 2012-10-10 Issue 2046 VSX files not included in the ZIP distributions.
2.1.7.19 2012-10-09 Regression 1918 Class HostServiceProvider should hold RemotingAccessors, not directly MBRO.
2.1.7.18 2012-09-27 Issue 1950 Nuget install.ps1 for toolkits incorrectly handles escaped characters in reference to PostSharp.targets (fixed).
2.1.7.17 2012-09-27 Issue 1826 MSBuild caches PostSharp.MSBuild.{Build}.dll and creates versioning conflitcs.
2.1.7.17 2012-09-27 Issue 1950 Nuget install.ps1 for toolkits incorrectly handles escaped characters in reference to PostSharp.targets.
2.1.7.17 2012-09-27 Issue 1952 No guard prevents LocationInterceptionAspect to be applied on abstract members.
2.1.7.16 2012-09-19 Issue 1918 Class HostServiceProvider should hold RemotingAccessors, not directly MBRO.
2.1.7.15 2012-09-19 Issue 1858 Symbolic sequence points incorrectly written when a method contains instructions from several documents.
2.1.7.15 2012-09-18 Issue 1854 Aspect Initialization throws exception with obfuscation awareness is enabled.
2.1.7.13 2012-09-13 Issue 1847 Nested exported types are not supported.
2.1.7.13 2012-09-13 Issue 1846 Exception when writing an assembly that contains exported types.
2.1.7.13 2012-09-11 Issue 1831 Error from RequiresPostSharp.cs even when PostSharp is included in the build process.
2.1.7.12 2012-09-04 Issue 1816 Invalid code generation: tail.call need to be transformed into a non-tail.call when in a protected block.
2.1.7.12 2012-09-04 Issue 1819 Cannot set license server URL through MSBuild property.
2.1.7.11 2012-08-21 Issue 1811 License service generated test keys for production customers since 2011-08.
2.1.7.8 2012-08-17 Issue 1796 Inappropriate error message: ScalarConstraint does not have MulticastAttributeUsage.
2.1.7.8 2012-08-17 Issue 1769 Setting user-profile registry keys may throw exceptions.
2.1.7.8 2012-08-17 Issue 1793 MetricAttribute missing from the Windows Phone build of PostSharp.dll
2.1.7.9 2012-08-17 Issue 1792 ModuleDeclaration.FindType works incorrectly with pointer types.
2.1.7.8 2012-08-17 Issue 1792 ModuleDeclaration.FindType works incorrectly with pointer types.
2.1.7.8 2012-08-17 Issue 1791 Type forwarders are not reversely resolved when mapping reflection types to metadata.
2.1.7.8 2012-08-17 Issue 1790 AssemblyLoadException when loading an assembly into the CLR if the reference assembly has a different identity than the GAC assembly.
2.1.7.7 2012-08-15 Issue 1777 "Learn PostSharp" toolbox always opens itself at startup.
2.1.7.6 2012-07-29 Issue 1769 Setting user-profile registry keys may throw exceptions.
2.1.7.5 2012-07-25 Issue 1760 Invalid validation of email address in trial registration.
2.1.7.5 2012-07-25 Issue 1759 ArgumentException when several AspectWeaverPlugIn instances are added to a project.
2.1.7.5 2012-07-25 Issue 1758 MulticastPointcutEngine throws exception when aspect applied to TypeRef for PostSharp Development.
2.1.7.4 2012-07-13 Issue 1726 Reference assemblies are loaded from GAC instead of from the reference directory.
2.1.7.4 2012-07-13 Story 1374 Support for NuGet Restore.
2.1.7.3 2012-07-09 Issue 1709 Incorrect version of ActiPro is included in the software .
2.1.7.3 2012-07-09 Issue 950 Fix issue introduced in solving issue 950 in previous build.
2.1.7.2 2012-06-29 Issue 1697 Require registration to start the evaluation period.
2.1.7.2 2012-06-29 Issue 950 PostSharp executable not found when MSBuild is sandboxed.
2.1.7.1 2012-06-08 Issue 1665 Tasks are initializing in undeterministic order, causing dependency (ordering) issues.
2.1.7.1 2012-06-08 Enhancement 1664 Remove automatic opening of the Learning Path toolbox in evaluation mode.
2.1.7.1 2012-06-08 Enhancement 1663 Add-ins can be included from an MSBuild project using the @PostSharpAddIn item.
2.1.7.1 2012-06-08 User Story 1572 Decompilation to expression tree.
2.1.6.16 2012-05-31 Issue 1644 PostSharp HQ can enter trial mode without the license agreement dialog.
2.1.6.16 2012-05-31 Enhancement 1643 Code optimizer should be disabled with HappyMonday licenses.
2.1.6.16 2012-05-31 Issue 1642 Relocation table is incorrect, causing programs to be unable to load when Symantec Endpoint Protection is installed.
2.1.6.16 2012-05-31 Issue 1640 ImageReader throws exception when the CorMetadataRoot1 is not aligned on 4-byte boundary.
2.1.6.16 2012-05-31 Issue 1616 Pipe server form should be hidden, not minimized.
2.1.6.15 2012-05-15 Issue 1601 MSBuild target PostSharp21CopyOutputToCodeAnalysis tries to copy vhost.exe and violates lock.
2.1.6.15 2015-05-15 Enhancement 1602 Automatic detection of DotPeek to see decompiled source code.
2.1.6.14 2012-04-25 Enhancement 1565 NameMapper can map name of intrinsics.
2.1.6.14 2012-04-25 Issue 1513 Cannot install on Windows 7 in some scenarios: .NET 3.5 SP1 not detected.
2.1.6.13 2012-04-02 Issue 1535 XML Multicast task generates AttributePriority values automatically.
2.1.6.13 2012-04-02 Issue 1524 Invalid MSIL generated when aspect applied on public extern methods contained in a nested private class.
2.1.6.12 2012-03-28 Issue 1503 MethodExecutionArgs.ReturnValue must be populated when the property is written (not only read) by an advice.
2.1.6.12 2012-03-28 Issue 1507 OnMethodBoundaryTransformationInstance.Implementation.ImplementOnException throws NullReferenceException.
2.1.6.12 2012-03-28 Issue 1506 AssemblyLoadException when assemblies have the flag 32BITPREFERRED.
2.1.6.11 2012-03-21 Issue 739 WriteWeavingSymbolsTask.Execute throws UnauthorizedAccessException.
2.1.6.11 2012-03-21 Issue 256 Win32Exception in PostSharp.VisualStudio.HWndDispatcher.BeginInvoke.
2.1.6.11 2012-03-21 Issue 1436 AspectWeaver.AspectWeaverTask.Execute throws InvalidCastException.
2.1.6.11 2012-03-21 Issue 229 NullReferenceException in QuickInfoTracker.OnMouseMove.
2.1.6.11 2012-03-21 Issue 1435 PointcutAwareAdviceGroup.EvaluatePointcuts throws InvalidCastException.
2.1.6.11 2012-03-21 Issue 1434 CustomAttributeHelper.ConstructRuntimeObject reports exception in user code to CEIP.
2.1.6.11 2012-03-21 Issue 1433 EnvDTE.Project.get_Name() throws COMException.
2.1.6.11 2012-03-21 Issue 1413 Make AspectConfigurationAttributeType public.
2.1.6.11 2012-03-20 Issue 1464 ArgumentException from ISymUnmanagedWriter.GetDebugInfo with non-ASCII paths.
2.1.6.10 2012-03-20 Issue 1460 Invalid detection of the x64 platform on Visual Basic.
2.1.6.10 2012-03-20 Issue 1461 Invalid PE header: 64-bit assemblies cannot allocate more than 2GB.
2.1.6.9 2012-03-16 Issue 1431 Missing assembly redirection for Silverlight 5.0 with RIA.
2.1.6.9 2012-03-06 Issue 1395 Compatibility issue with projects targeting .NET 4.5 (PostSharp.targets).
2.1.6.9 2012-03-06 Issue 1395 Compatibility issue with projects targeting .NET 4.5 (PostSharp.targets).
2.1.6.8 2012-02-29 Issue 1376 Property 'PropertyWrapper.PropertyType' throws NullReferenceException for properties of unbound generic type.
2.1.6.8 2012-02-29 Issue 1359 VSX installation check runs even in unattended mode, causing locking issues.
2.1.6.7   Issue 1336 Invalid code generation when OnExceptionAspect follows a MethodInterceptionAspect.
2.1.6.6   Regression 1119 Debugging symbols: local variable symbols lost in implicit iterators.
2.1.6.3   Bug 1283 Setup Wizard displays error "VSX already installed" when trying to update.
2.1.6.3   Bug 1285 Setup Wizard fails to upgrade the VSX if files are locked. Must ask to close applications.
2.1.6.3   User Story 1282 Adding MulticastAttributes from XML project data for PostSharp Development.
2.1.6.3   User Story 1281 Project files can contain XML data islands.
2.1.6.3   Bug 1273 Tasks with AutoInclude can be added twice and create duplication conflicts.
2.1.6.2   Bug 1269 Disable pipe server when the build runs unattended.
2.1.6.2   Bug 1268 Licensing is enforced on build servers, altought it should not.
2.1.6.2   User Story 1266 Add services to a project without referencing PostSharp SDK.
2.1.6.2   User Story 1247 Unify Projects and PlugIns in the project loader system.
2.1.5.13   Bug 950 PostSharp executable not found when MSBuild is sandboxed.
2.1.5.13   User Story 1239 Track feature usage (aspect types, advice types, pointcut types).
2.1.5.13   User Story 1222 Prepare support for feature tracking in user aspects.
2.1.5.13   User Story 1236 Report usage of redistribution licenses through CEIP.
2.1.5.13   Bug 1205 Debugging sequence points are damaged with Code Contracts Runtime Checker.
2.1.5.13   Bug 1238 Redistribution licenses issued for 2.0 have missing features under 2.1.
2.1.5.12   Bug 1215 Visual Studio package cannot be loaded (because of fix 1188).
2.1.5.11   Bug 1213 Aspects be initialized too late -- upon first use instead of upon class initialization.
2.1.5.10   Bug 1207 Bug in PostSharp.Reflection.LocationInfo.IsStatic.
2.1.5.10   Bug 1204 BaseLanguageAdapter.VisitCodeType throws ArgumentException.
2.1.5.10   Bug 1201 IClrMetaHost.EnumerateLoadedRuntimes throws COMException in static constructor of DotNet40Api.
2.1.5.10   Bug 1186 Aspect Browser causes a crash in Visual Studio 2008.
2.1.5.10   Bug 1188 Strong name signatures removed from PostSharp.VisualStudio.*.dll.
2.1.5.10   Bug 1179 Binding issues with Silverlight 5 RTM - more assembly redirections must be configured.
2.1.5.10   Bug 1156 Domain.FindDeclaration throws NullReferenceException (Silverlight).
2.1.5.10   Bug 967 Incorrect MSIL generation for OnMethodBoundary - generic method definition instead of generic method instance.
2.1.5.9   Bug 1182 ObjectConstruction throws an exception if an attribute contains named arguments.
2.1.5.8   Bug 1137 Purely event-level aspects (such as CustomAttributeIntroductionAspect) are ignore
2.1.5.7   Bug 1128 FileNotFoundException when trying to load a project embedded in an assembly with the ';' separator.
2.1.5.7   Bug 1134 GAC assemblies not found in post-obfuscation processing.
2.1.5.7   User Story 1130 Easy integration of PostSharp VSX with external decompilers.
2.1.5.6   Bug 1119 Debugging symbols: local variable symbols lost in implicit iterators.
2.1.5.6   Bug 1118 Debugging symbols: namespace references not preserved.
2.1.5.6   Bug 1092 Merge bug fixes from Microsoft CCI into PostSharp.
2.1.5.5   Bug 1090 Unmanaged resources could get corrupted.
2.1.5.4   Bug 1068 'PostSharp' project property tab cannot be scrolled
2.1.5.4   Bug 1059 Issue with assembly-level IgnoreWarningAttribute
2.1.5.4   Bug 1067 Invalid assembly generation due to reentrance on blob creation
2.1.5.3   Bug 1066 Invalid generation of method bodies: MaxStack must be computed before choosing the header type
2.1.5.2   Bug 1048 Compile tab missing in VB project properties of VS 2010
2.1.5.2   Bug 1051 Invalid assembly binding identity generated for assemblies linked to .NET 1.*
2.1.5.2   Bug 1049 PostSharp HQ fails to register license for all users when the license key contains spaces