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.
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
Post a Comment