WPF User Control Error
I've search the forum, but I coundn't find anything that quite satisfied me ...

In Microsoft Visual Studio 2010, when I try to add a WPF User Control I get this error:

    "Value cannot be null. Parameter name: objectType"

Then when I want to select the hosted content, I get this error :

    "An error occured trying to add references for type 'PolyPuttZe.GameCanvas', or finding the type. Make sure the project references are correct."

I fallowed this tutorial : http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf-in-winforms

Thanks!
WPF User Control Error
===

I've search the forum, but I coundn't find anything that quite satisfied me ...

In Microsoft Visual Studio 2010, when I try to add a WPF User Control I get this error:

    "Value cannot be null. Parameter name: objectType"

Then when I want to select the hosted content, I get this error :

    "An error occured trying to add references for type 'PolyPuttZe.GameCanvas', or finding the type. Make sure the project references are correct."

I fallowed this tutorial : http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf-in-winforms

Thanks!