Mr. Spoof
Mr. Spoof

Reputation: 243

Dependency Injection in windows phone 8

Does anyone know of decent Dependency Injection framework for windows phone 8? I'm creating a project following mvvm which shares code with a windows store project. I was using Unity for the windows store app, but I can't get it to work with windows phone. Has anyone had similar problems?

Upvotes: 6

Views: 2151

Answers (4)

Mr. Spoof
Mr. Spoof

Reputation: 243

I was able to download the source from unity and I got it to compile with minimal problems.

http://unity.codeplex.com/releases

Upvotes: 1

Luke Zhang
Luke Zhang

Reputation: 31

You can use MEF. Just reference the assemblies in portable-net45+win8 folder.

Upvotes: 2

vidalsasoon
vidalsasoon

Reputation: 4401

"MVVM Light" also comes with "Simple IoC". It works nicely.

Upvotes: 2

sadify
sadify

Reputation: 122

Have you tried funq from codeplex?

http://funq.codeplex.com/

Upvotes: 1

Related Questions