Ask a questionAsk a question
 

AnswerActivityDesignerTheme and VS restart

  • Tuesday, February 07, 2006 9:32 PMTomas RestrepoMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    In general, I've noticed that the WF designer in VS2005 works very well, particularly in that it immediately takes into effect changes made to activity libraries you are referencing in your workflow project (when using project references).

    However, there is one minor thing I've noticed doesn't quite work: If you either apply, or change the internal definition of an ActivityDesignerTheme (say, just changing the value of a property or the constructor code) associated with a custom activity designer. It seems, as far as I can tell, that a complete restart of VS is needed for the changed to take effect.

    Very minor issue, certainly, though a little annoying. I'm assuming this is a known issue, and possibly low priority to fix, right? :)

Answers

  • Wednesday, February 08, 2006 3:28 PMTomas RestrepoMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks Vihang.

    I did found out one simpler way to get it to take the changes into account without restarting Visual Studio:

    if you temporarily switch the workflow designer theme to the "Operating System Color Theme" and then switch back to the "Default Theme" it will use your updated ActivityDesignerTheme class.


All Replies

  • Tuesday, February 07, 2006 10:51 PMa_vihang Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks for letting us know Tomas. We will look into the issue.

    Thanks,

    Vihang

  • Wednesday, February 08, 2006 3:28 PMTomas RestrepoMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks Vihang.

    I did found out one simpler way to get it to take the changes into account without restarting Visual Studio:

    if you temporarily switch the workflow designer theme to the "Operating System Color Theme" and then switch back to the "Default Theme" it will use your updated ActivityDesignerTheme class.