Search code examples
c#wpfxamlworkflow-foundation-4

How to resolve sap and sapv namespace in xaml files


New to WPF and XAML. What does sap and sapv name spaces in xaml files mean and how do I resolve them? Thanks.


Solution

  • This should probably be a comment, but won't fit.

    It sounds like you may well be referencing Workflow dlls without having added the relevant references (it's a slight stretch based on your Workflow tag).

    sap and sapv often reference the System.Activities.Presentation.dll, which you may not have added to your project.

    e.g:

    xmlns:sap="clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation"
    xmlns:sapv="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation"
    

    Examples and advice here (depending on what it is you're doing): http://msdn.microsoft.com/en-us/library/dd489419.aspx