Error when using ValueInjecter with Compact Framework 3.5

May 2, 2014 at 11:38 AM
I get the following error:

{"The version of the assembly System, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089 cannot be loaded by this version of the Microsoft .NET Compact Framework."}
Foo foo = new foo();
Bar bar = new bar();

IValueInjecter injecter = new ValueInjecter();
injecter.Inject(bar, foo); //<--- error here
Foo foo = new foo();
Bar bar = new bar();
bar.InjectFrom(foo); //<--- error here
Could someone explain why this is happening? The documentation says the library should work with .NET 3.5CF.

May 2, 2014 at 11:59 AM
Also, I cant seem to compile the source code as I don't have the password for valinjkey.pfx

Is this intentional? Thanks.
May 2, 2014 at 2:23 PM
Nevermind, I solved this by making a new Smart Device Project and adding in the code by hand.

Great library by the way!
Marked as answer by BoroDrummer on 5/2/2014 at 6:23 AM