I'm working on a custom activity for WF 4, but I can't seem to get my designer registered the way I want it to be registered.
The documentation specifiies two ways to register a designer for a workflow activity.
- Use the [Designer] attribute on the activity. This requires a dependency on the designer library from the activity library.
- Use a Metadata class in the designer library that implements IRegisterMetadata. This swaps the dependency around.
I want to use the last option, but Visual doesn't seem to want to load the designer when I follow the guide in the documentation. When I use the Designer attribute it works fine, but then I need to have a dependency on the designer library or use a string-identifier of my designer class. Which isn't really maintainable either.
How can I get option two to work for my custom activity?