I have been playing around with the DI container example from the P&P summit. I ran into some difficulty when there isn't a reference to the project where you are loading assemblies from (like you might have in a unit test project). To get around this,
I had to use the assembly qualified name.
Is there a simpler way to create a class reference when the class is in another assembly? Specifying the assembly name alone wouldn't be too bad but the other assembly information is more complex than I would like. I used Reflector to even get the full name.
Here is what worked:
Domain, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null], Domain, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'
ToType='Domain.Mapping.ItemMapper, Domain, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null' />