Vihang,
I am receiving the following message when using your Re-hosting example code:
Property value is not valid.
The Service 'System.Workflow.ComponentModel.Design.IExtendedUIService' musy be installed for this operation to succeed. Ensure that this service is available.
Have you seen this before Is there a reason I cannot view the Invoked handler in the properties windows
I look forward to hearing from you soon.
Thanks in advance,
John P.

Vihang's Re-hosting Workflow Designer example errors
Shazen
Jon,
I have already done that and am still getting the error. I can send you the code if you want to see the error for yourself
John P.
J. Clark
Zadoras
My point was that you *will* have to create an implemenation of that interface and put it into the context of your designer to not get that error.
sangminny
Jon,
I am still getting the same errors. This template causes error when running my code.
I commented out certain things in this template so that I can run the code, but I get the same errors when trying to access properties via the UI designer.
Let me know if you want to see the code with your template that is not working as expected
Thanks in advance,
John Portnov
ybawany
John - this may or may not be a helpful answer :) But you will find this will almost every sample out there. At some point - something in the designer is going to use a "service" that isn't installed in the designer context.
In fact the WF architecture of services and the designer services architecture are very similar in this respect.
I'd recommend implementing that interface and adding it to the services that are available in your designer.
fiaolle
Peter Huber
Here is a template - the implementation is up to you really, although you could just take out the exceptions and it will work and be a no-op service. I am guessing the method that is being called is NavigateToProperty. You'll have to add this as a service (I generally do this in my WorkflowLoader.Initialize).
public
class ExtendedUIService : IExtendedUIService{
#region
IExtendedUIService Members public void AddAssemblyReference(System.Reflection.AssemblyName assemblyName){
throw new Exception("The method or operation is not implemented.");}
public void AddDesignerActions(DesignerAction[] actions){
throw new Exception("The method or operation is not implemented.");}
public DialogResult AddWebReference(out Uri url, out Type proxyClass){
throw new Exception("The method or operation is not implemented.");}
public Type GetProxyClassForUrl(Uri url){
throw new Exception("The method or operation is not implemented.");}
public ITypeDescriptorContext GetSelectedPropertyContext(){
throw new Exception("The method or operation is not implemented.");}
public Uri GetUrlForProxyClass(Type proxyClass){
throw new Exception("The method or operation is not implemented.");}
public Dictionary<string, Type> GetXsdProjectItemsInfo(){
throw new Exception("The method or operation is not implemented.");}
public bool NavigateToProperty(string propName){
throw new Exception("The method or operation is not implemented.");}
public void RemoveDesignerActions(){
throw new Exception("The method or operation is not implemented.");}
public void ShowToolsOptions(){
throw new Exception("The method or operation is not implemented.");}
#endregion
}
dczraptor
Jon,
What is your email address
JP
Mike Hildner
kotov_ks
shoeffie
What is the syntax for that
BTW: I still get the null error.
rodniko
Jon,
Thanks. I sent an email to jon.flanders@gmail.com
John P.
chris29
Yustos