Coded Workflows - invoke a xaml

Hi guys

I have a small issue with invoking a xaml file within a coded workflow.

The project compiles fine and also runs on the unattended robot, but the code in the coded workflow is shown as somehow wrong, see screenshot.

image

Is this an issue just with Studio and I should ignore it, or do you have any suggestions?

Thanks in advance for any helpful advice.

Hello @Speziman
If you want to remove the visual warning then ensure proper assembly references
Check that these are explicitly referenced

System.Activities

System.Activities.Core.Presentation

System.Xaml

Or Add using directives if not already did

using System.Activities;
using System.Activities.XamlIntegration;
using System.Xaml;

Restart the Studio or if everything works properly then ignore.

Cheers

Hi @bhavesh.choubey

Thank you for the proposal.

Sadly I already have the directives in place, so this is not the solution. So for the moment I chose probably the “ignore” option.

Cheers

1 Like

If your issue is resolved then close the thread by marking a solution.

Cheers