Major
4.5
4.5.2
Planned
When targeting the .NET Framework 4.5 in the workflow designer, and loading a re-hosted 3.5 workflow with the WorkflowDesigner.Load() method, a XamlDuplicateMemberException is thrown while saving the workflow.
- Quirked
- Build-time break
This bug only manifests when targeting .NET Framework 4.5 in the workflow designer, so it can be worked around by setting the WorkflowDesigner.Context.Services.GetService<DesignerConfigurationService>().TargetFrameworkName
to the 4.0 .NET Framework.
Alternatively, the issue may be avoided by using the WorkflowContext.Load(string) method to load the workflow, instead of WorkflowDesigner.Load().
M:System.Activities.Presentation.WorkflowDesigner.Load
Windows Workflow Foundation (WF)