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: GOstrowsky **

Hello Tetsu,

I have reproduced the steps you described but the __BasicMVVM QuickStart__ build successfuly instead. Perhaps you downloaded the ___Beta___ version when it was not stable yet.

I suggest you to download the source library again from the following site:
#
* [Prism 5.0 for WPF – April 2014](http://www.microsoft.com/en-us/download/details.aspx?id=42537)

I hope this helps,
Regards.

Gabriel Ostrowsky
https://blogs.southworks.net/gostrowsky


Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>