Thursday, August 02, 2012

The non-generic method 'Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type, string, params Microsoft.Practices.Unity.ResolverOverride[])' cannot be used with type arguments

If you get the “The non-generic method 'Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type, string, params Microsoft.Practices.Unity.ResolverOverride[])' cannot be used with type arguments” compiler error while building a Prism application, remember to add a using statement for “Unity” (using Microsoft.Practices.Unity;)

1 comment: