dependency injection - StructureMap on Xamarin: System.Reflection.TypeExtensions not found -


it seems cannot use structuremap:

[mono] class system.reflection.typeextensions not loaded, used in system.reflection.typeextensions, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a 

i added system.reflection.typeextensions :

<package id="system.reflection.typeextensions" version="4.0.0" targetframework="monoandroid60" /> 

i can see dll in references. still same error.

any hints?

i need structuremap because couldn't pass constructor parameters when used simpleinjector. in strcuturemap it's easy:

_container.with(offer).getinstance<offerdetailsviewmodel>(); // "offer" passed ctor of offerdetailsviewmodel 


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -