Reviewed: Prism 5.0 for .NET 4.5 (4 20, 2014)
Reviewed: Prism 5.0 for .NET 4.5 (4 20, 2014)
New Post: Project Templates for Prism 4.2
Thank you for notifying your needs and provide suggestions for improving the Prism management.
I would invite you to create a suggestion issue and vote it so the p&p team would be able to track issues and suggestions giving more priority for fixing on the most voted ones.
You may find a similar suggestion for Prism 4.1 in the following Issue Item:
Regards,
Gabriel Ostrowsky.
https://blogs.southworks.net/gostrowsky
Created Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]
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
Commented Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]
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: Tetsushmz **
As it turned out, the Microsoft.Practices.Prism.Mvvm.Desktop.dll is placed in the packages directory. So, it was my mistake. The BasicMVVMQuickStart_Desktop solution works just fine.
Please disregard my previous comments.
Thanks,
Tetsu Shimizu
New Post: Prism 4.2 for .NET 4.5 RTM
Commented Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]
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
New Post: Prism 4.2 for .NET 4.5 RTM
The Prism Library targets .NET 4.5 (both source code and NuGet packages). The samples - RI and QuickStarts - target .NET 4.5.1. So we are not using any .NET 4.5.1 features.
Blaine
New Comment on "Documentation"
New Comment on "Documentation"
Reviewed: Prism 5.0 Documentation (avr. 22, 2014)
Reviewed: Prism 5.0 Documentation (avr. 22, 2014)
New Post: Prism/MEF application doesnt work on non-developer's machines
Reviewed: Prism 5.0 Documentation (Apr 22, 2014)
Commented Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]
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: Tetsushmz **
Hi Gabriel,
Thanks for the response. As I posted earlier, it was my mistake and the sample app worked just fine. I did use the released version of Prism 5.0. Still, I'm expecting that Microsoft post the full V5.0 source code that includes the ViewModelLocator class on this site in near future.
Regards,
Tetsu Shimizu
Released: Prism 5.0 Documentation (Apr 18, 2014)
When you download the documentation you may need to unblock the file before opening it. Otherwise you may not be able to see the content.
Updated Release: Prism 5.0 Documentation (Apr 18, 2014)
When you download the documentation you may need to unblock the file before opening it. Otherwise you may not be able to see the content.
New Post: Platform License Restriction
Commented Unassigned: Cannot find ViewModelLocator class in Prism V5 [10596]
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.
Commented Unassigned: Interaction requests in nested region aware menu items only work once [10590]
I’m stomped on this one. The Raised event of the InteractionRequest<T> is null the second time an interaction request is raised and hence doesn’t open the dialog.
I managed to reproduce the issue in a simple example. Check out the Menu in the MainWindow to see a working example, and one that doesn't:
<Menu>
<MenuItem Header="RootMenuItem">
<MenuItem Header="NotWorkingMenuItem" Prism:RegionManager.RegionName="MenuRegion"/>
</MenuItem>
<!--<MenuItem Header="WorkingMenuItem" Prism:RegionManager.RegionName="MenuRegion"/>-->
</Menu>
Help!!! :)
René
Comments: ** Comment from web user: fcheung **
Interesting... Seems to be related to nesting MenuItems more than 2 deep. I'll investigate further.