Hi.
While trying to learn how a desktop (WPF) Prism app may display some dialogs to the user, I read this great post by Damian Cherubini, and understood how to implement interaction requests in the different available ways.
I then tried to implement it in a project of mine, but simply deteriorated from one obstacle to another:
1) "error MC3074: The tag 'CallMethodAction' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactions" errors occurred for "<ei:CallMethodAction TargetObject="{Binding ElementName=confirmationWindow}" MethodName="Close"/>". And alike with the tag 'Interaction.Triggers'.
2) "Cannot add InteractionRequestTrigger to TriggerCollection" (or a similar text).
3) "Could not load file or assembly" reported for some libraries, e.g., Microsoft.Practices.Prism.Interactivity.
So after wasting hours of my time for such a basic need, I got tired, and decided to turn into the other way that's recommend here, which is "Using an Interaction Service". In this method, the view-model loads a library that offers an API to display the desired dialogs. Does anybody know about a good example or tutorial that shows how to implement this?
Thanks,
Ofer.
While trying to learn how a desktop (WPF) Prism app may display some dialogs to the user, I read this great post by Damian Cherubini, and understood how to implement interaction requests in the different available ways.
I then tried to implement it in a project of mine, but simply deteriorated from one obstacle to another:
1) "error MC3074: The tag 'CallMethodAction' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactions" errors occurred for "<ei:CallMethodAction TargetObject="{Binding ElementName=confirmationWindow}" MethodName="Close"/>". And alike with the tag 'Interaction.Triggers'.
2) "Cannot add InteractionRequestTrigger to TriggerCollection" (or a similar text).
3) "Could not load file or assembly" reported for some libraries, e.g., Microsoft.Practices.Prism.Interactivity.
So after wasting hours of my time for such a basic need, I got tired, and decided to turn into the other way that's recommend here, which is "Using an Interaction Service". In this method, the view-model loads a library that offers an API to display the desired dialogs. Does anybody know about a good example or tutorial that shows how to implement this?
Thanks,
Ofer.