Where are UnityContainerExtensions

I had wrapped a Unity container in another class and then was using it to call Resolve and only got one option in intellisense like this:

But I was wanting the Resolve(Of T) option like this:

Then I discovered I was missing "Imports Microsoft.Practices.Unity" at the top of the class.  Once I added that then the UnityContainerExtensions became available.


Popular posts from this blog

.NET generics with private accessors not compatible with MSTest

Microsoft.ApplicationBlocks. ExceptionManagement The event source x does not exist error

404 error in a REST WCF service