I have followed the advice in the Dialogs and Messageboxes topic on the Ideablade website in order to create a simple Dialog Box with its own viewmodel and view.
After I issue the command: "await _dialogManager.ShowDialogAsync(_namePrompt, DialogButtons.OkCancel);" I get back the error "Cannot find view for Cocktail.DialogHostBase", also in the VS 2012 output window is:
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=DisplayName; DataItem='DialogHostBase' (HashCode=43089040); target element is 'Window' (Name=''); target property is 'Title' (type 'String')
The ViewModel and View correctly follow the naming conventions. As a test I can display the control in question embedded on a MainPage - this confirms that Caliburn Micro can fins the view from the viewmodel normally, it just does not work from the dialog manager.
Any ideas?