Jul 1, 2014 at 5:06 AM
Edited Jul 1, 2014 at 6:47 AM
I have been previously using Unity 3.0, It has RegisterTypes function which can load Classes from an assembly.
var container = new UnityContainer();
When I upgraded to Unity 3.5 Portable Class Library Preview this function is no longer available.
How to use Registration by Convention in Unity 3.5 Portable Class Library Preview?
You should use the
which has PCL support. Registration by convention is in its own assembly (Microsoft.Practices.Unity.RegistrationByConvention.dll) which will be available if the platform supports it. For example, it will not be available in apps
targeting Windows Phone 8.1.
Enterprise Library support engineer