Neil Thompson
Neil Thompson

Reputation: 6425

Where has StateMachine gone in Visual Studio 2012

I'm working through the MSDN Windows Workflow Tutorial's and want to create a StateMachine Workflow.

The tutorial says:

"Drag a StateMachine activity from the State Machine section of the Toolbox and drop it onto the Drop activity here label on the workflow design surface."

but this option does not exist in the toolbox of my Visual Studio 2012 Professional (all the others are there).

Where is it?

Upvotes: 1

Views: 1128

Answers (1)

Neil Thompson
Neil Thompson

Reputation: 6425

As @Jota kindly pointed out - StateMachine was only added in .NET 4.0.3. When I upgraded the project to 4.5 (from 4.0) the StateMachine option appeared in my toolbox.

Thank you Jota.

Upvotes: 1

Related Questions