Microsoft Unity 2.1 - August 2012 Update

Release Notes

This optional update to Unity (2.1.505.2) contains the following fixes:

1. Addressing a thread safety issue:

2. Improving debugging experience on System.Threading.Synchronization.LockException:

3. Improving debugging experience through better error messaging when a type cannot be loaded:

4. Supporting a scenario of performing a BuildUp() on an existing instance of a class that doesn’t have a public constructor:

To make the update experience as simple as possible for users and to avoid the need for assembly binding redirects, we chose to only increment the assembly file version, not the .NET assembly version.

How to Get the Update

Via Nuget.
Symbols and source are available as a separate download under

Learning More

The following learning resources are recommended:

See also:

Providing Feedback

Microsoft would appreciate feedback on any issues found, or any other general comments on this release.
To report a bug, use online Issue Tracker. Other feedback or questions can be posted on the Unity Codeplex forum.

Last edited Aug 6, 2012 at 11:34 PM by gmelnik, version 2


jenik15 Nov 26, 2014 at 10:39 AM 
Nuget should use only AssemblyVersion for redirects!

mazhekin Nov 5, 2012 at 10:44 AM 
Microsoft.Practices.Unity - what version are releasaed?

mazhekin Nov 5, 2012 at 10:43 AM 
and i get always error in LoaderExcepctions -> "Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.1.505.2, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Microsoft.Practices.Unity, Version=2.1.505.2, Culture=neutral, PublicKeyToken=31bf3856ad364e35"}

mazhekin Nov 5, 2012 at 10:42 AM 
I have installed this pakage and view properties of the assembly Microsoft.Practices.Unity.
I dont understand why path to package is \packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.dll

but Version 2.1.505.0