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.

Comments

Popular posts from this blog

ToMethodObject Refactoring

How to unlock a file in Team Foundation Server(TFS)

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