We are rehosting Workflow Designer inside our Configuration application (developed using WPF) and we need to have expression editor there. Workflow Editor without expression editor intellisense is not option for our business users. Beside that we want to use same vb expressions to define custom validation rules for UI where we do not use WF designer.
We found out that out of VS there is no IExpressionEditorService and that vb expression editor does not work in wpf applications (some functionalities work, but the intellisense which is the most important for us does not work). Is this supported?
I investigated and found Microsoft.VisualStudio.Activities.AddIn.ExpressionEditor service and passed it to Designer.Context.Services.Publish method but it looks like rehosted designer does not uses it. I also investigated with EditorSession class from Microsoft.VisualBasic.Editor dll but it throws exception asking for a list of services: ITextEditorFactoryService, IContentTypeRegistryService, ITextMarkerProviderFactory and so on.
I would like to ask for suggestion, should we continue with exploration of possibility to use vb expression editor in WPF application using Microsoft classes?
We may spent more time investigating and to find out finally that this is not possible?We also would not like to develop custom support for expression editor if there is already editor
View Complete Post