• Step 1) Install NoMvvm with NuGet
  • Step 2) Choose an IoC container: MEF, TinyIoC, Ninject, or Unity
    • Step 2b) If using Ninject or Unity, go ahead and pull in their respective NuGet packages
  • Step 3) Remove references to NoMvvm dlls you don't need (and NoMvvm.TDD.dll if you're not in a test project)
  • Step 4) Remove the startup Xaml page in your App.xaml
  • Step 5) Override OnStartup in App.xaml.cs, configure NoMvvm and you're all set!

See the extended documentation on configuring NoMvvm.

Note: There is only 1 NuGet package for NoMvvm, down the road I may create NoMvvm-MEF, NoMvvm-Ninject, etc. but I feel like that added a lot of complexity to my build process (and a bit confusing for users). It would allow me to take advantage of the dependencies on Unity and Ninject, however.

Last edited Sep 10, 2011 at 9:43 PM by jonathanpeppers, version 8


No comments yet.