Russ Williams
Russ Williams

Reputation: 41

How to use MVVM Light Toolkit with existing non-MVVM Light Toolkit project

I need to use the Surface project template for the application that I am working on but I also want to use the MVVM Light Toolkit too. I see that I can "Add | New Item..." and choose an MVVM teamplate for a view, view model, or locator but there seems to be a few more things I need to do to wire this up beyond adding one of those and making sure I have added the reference to the mvvm assemblies.

I am in the process of trying to figure this out by studying what's gets generated when I create a MVVM Light project but I was hoping someone already had this all figured out and documented. I know that Laurent mentioned that he was going to write this up in a blog post but I looked and could not find it. If someone knows where I can find that post that would be killer. Thanks in advance.

Upvotes: 4

Views: 1511

Answers (1)

Chris Koenig
Chris Koenig

Reputation: 2748

It's not too bad adding MVVM Light to an existing project. I finally wrote up the blog post I've been meaning to, just for this situation:

http://chriskoenig.net/2010/07/02/adding-mvvm-light-toolkit-to-an-existing-project/

Enjoy!

Upvotes: 8

Related Questions