Workflow error when library

Hello, Im having an error when Im using one workflow as a library.
The funny thing is, that’s working when used as a worflow. I think the problem is that Im doing custom code with System.Windows.Forms.Cursor. So when I transform it into a library, dependencies problems appear, it isn’t able to convert it.
The error :
System.Xaml.XamlObjectWriterException: Unable to resolve the type '{http://schemas.microsoft.com/netfx/2009/xaml/activities}InArgument({clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms}Cursor)'.

Thanks for your help :slight_smile:

Ok, I thought that as I was using it, it was obvious that it was added in the import but I was wrong if someone got the same error you need to import on your custom code :

Have a nice day.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.