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

Show/Hide formatting text in MS Word 2010

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

ASP.NET 2.0 DropDownList EnableViewState