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