views:

217

answers:

4

I've created a class project in VS 2010 Beta 2. I've added one Activity to it. Saved it. Created another Activity. I would expect the first Activity to appear in the toolbox so I could drag it into my workflow, but it's not. Any ideas?

A: 

I resolved this by creating a Windows Workflow 4.0 Console application and then removing out the Program.cs. Very odd, but it worked.

Nissan Fan
+1  A: 

Make sure your Custom Activity class is marked as public.

Russ Clark
+1  A: 

I think this was because of not building in the right configuration mode.

I've made a post about it on my blog: http://benzinimundo.com/?p=84

Ben
+1  A: 

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

Essentially, the toolbox doesn't load your custom activities if you have two projects in your solution that share the same folder.

Rohland