Unity 2.0

by Donovan Olivier April 21, 2010 6:07PM

So you've switched to Enterprise Library 5.0 and you're now finding compiler errors relating to generic implementations of .Resolve, .RegisterType, etc. in your UnityContainer? These are now extension methods, so just add the following to your class and your problem will be solved:

using Microsoft.Practices.Unity;

Tags: ,

Blog

The Perpetrator

perpetrator

Donovan Olivier

software developer, architect, husband, father, son, brother, uncle, nephew, sinistral, enquirer, skeptic, cynic, anarchist, contrarian, infidel, dissident, rebel, troublemaker, dissenter, renegade.