Windows Workflow 4.0 Workflow Not Added to Toolbar

I created a class project in VS 2010 Beta 2. I added one action to it. Saved. Another activity has been created. I would expect the first activity to appear in the toolbar so that I can drag it into the workflow, but it doesn't. Any ideas?

+2


source to share


6 answers


I had this problem with RTM for Visual Studio 2010. I wrote a blog post with a potential solution here .



Basically, the toolbar does not load your custom actions if you have two projects in your solution that share the same folder.

+4


source


Make sure the Custom Activity class is marked public.



+3


source


I got this problem too. My service service project was part of a solution with other projects. I removed the workflow service project from the main solution and created a new solution containing only the workflow service project. After assembly, custom actions were created and listed in the toolbar.

+2


source


Not exactly the same question, but in Visual Studio 2012, in 64 bit windows, I had a 64 bit app with CodeActivity and NativeActivity and they were not showing up in the toolbar. I changed the app to AnyCPU and built it and now the activities are displayed ... Hope this helps someone :)

+1


source


I solved this by creating a Windows Workflow 4.0 Console Application and then deleting the Program.cs program. Very strange, but it worked.

0


source


I don't know if this is really relevant for you, but I had the same problem.

I could solve it like this:

  • Right click on the toolbar to open the context menu ...
  • Select Select Items ...
  • Select the Components tab System.Activities
  • Click browse and select the DLL that contains the custom actions
  • Make sure the activity is listed and checked.
  • Click OK
0


source







All Articles