Generic Mapping Changes in 1.2??

Jan 9, 2009 at 12:24 AM
I've recently upgraded to Unity 1.2 and the following config type mapping fails w/ a ResolutionFailedException.

<type type="Models.IReadService`1, Models" mapTo="Models.GenericReadService`1, Models" />

Non-Generic mappings still work.

Is there a different syntax now for specifying the mapping above?


Jan 9, 2009 at 1:57 AM
The syntax is the same, it should work.  You might be missing something else. 

For Unity questions, please post it to the Unity forum -

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.