Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

Commented Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]

$
0
0
Hi,

I downloaded the Prism V5, built the library, and built the BasicMVVMQuickStart_Desktop solution. VS2013 output three compile errors, of which two are related to the ViewModelLocator as shown below:

* The name "ViewModelLocator" does not exist in the namespace "clr-namespace:Microsoft.Practices.Prism.Mvvm;assembly=Microsoft.Practices.Prism.Mvvm.Desktop".
* The property 'ViewModelLocator.AutoWireViewModel' does not exist in XML namespace 'clr-namespace:Microsoft.Practices.Prism.Mvvm;assembly=Microsoft.Practices.Prism.Mvvm.Desktop'.

I searched the entire library source for "ViewModelLocator", but could not find it. Where could I find it?

Thanks,

Tetsu Shimizu
Comments: ** Comment from web user: blainew **

The source code download now includes the source code for ViewModelLocator. It can be found at [http://aka.ms/prism-wpf-code](http://www.microsoft.com/en-us/download/details.aspx?id=42537). Let me know if this solves your issue.

Thanks.


Viewing all articles
Browse latest Browse all 1878

Trending Articles