quinta-feira, 12 de julho de 2012 12:49
I am very new to WWF and just started learning. I want to practice the samples given by Microsoft from the below link.
While creating the project in my visual studio how do I easily replicate the workflow in the designer window. Every project in the above sample has a sequence.xaml file, if I copy paste the contents to the Workflow1.xaml file am getting an error. Understand I need to correct the namespace still am not able to get it. Is there a way to get a pictorial representation of the xaml file? or how can i replicate the workflow design?
Todas as Respostas
quinta-feira, 12 de julho de 2012 21:09Moderador
XAML files that are broken can pretty much only be fixed by hand.
Usually in the samples what causes the error is the
You can replace somethingsomething with the default namespace for your project.
The other part which can cause problems, especially when referring from one XAML file to another is the x:Class="somethingsomething.ClassName". Again, replace somethingsomething with the default namespace for your project.
One other thing that sometimes works. The sample projects should have their XAML file open OK in visual studio, at least once you have built them. You can copy activities from the workflow designer in sample project, and paste into the workflow designer in a new project. This works best for copying built-in activities, its not so good for copying custom activities.
- Marcado como Resposta LeoTangModerator quinta-feira, 19 de julho de 2012 02:50