Question

I've been "googling" around about inversion of control on Compact Framework but most of solutions will work on 3.5 version.

Summarizing: I need a light-weight, simple inversion of control container working on Compact Framework 2.0.

Thank you in advance.

Was it helpful?

Solution

As it seems, the current versions of most IoC containers don't support old versions of the .net framework (and the Compact Framework) anymore.

You might get away with using older releases.
For example, the Ninject download page says that Ninject 1.5 works on CF 2.0:

Older Version (version 1.5)

Support for versions of the .NET Framework prior to 3.5 was discontinued in Ninject 2.0. If you need backwards compatibility, you can still use Ninject 1.5. However, this version is only receiving critical bug fixes, and all new development is being done on the Ninject 2.0 codebase. Please only use this if you need to!

Binaries:

  • .NET Framework 3.5
  • .NET Framework 2.0
  • .NET Compact Framework 3.5
  • .NET Compact Framework 2.0
  • Silverlight 2.0
  • Silverlight 3.0
  • Mono 2.0

OTHER TIPS

There is also another decent solution: OpenNETCF.IoC Framework on codeplex

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top