Here is the problem: I downloaded my solution from my team’s TFS. But I am the only one in the team that gets this message:
The Type or Namepspace Name StateMachine not found (are you missing …)
When trouble shooting I found out that, in that specific project where I get the error, when looking at Properties of System.activities under Project References the Path filed points to an older version of the System.activities.dll but all my teammates’ Path points to the newer version of the System.activities.dll. Something is out of sync in my machine and I cant figure out what. My Registry Keys, my VS2010 version, are the same software as the teammates have but I still get the above error.
I don’t know why the Path on my Properties for System.activities is pointing to the older version of the System.activities.dll – what am I missing? I even checked the Machine.Config under the latest .NET install on my machine and it looks the same (just glancing at it) as the rest of the teammates.
Any help would be appreciated. If I need to reinstall should I reinstall VS2010, .NET and the whole nine yards ?
Thanks again
You need to install the .NET Framework 4 Platform Update 1. It comes in two downloads:
The reason is that .NET 4 didn’t ship with a StateMachine workflow. It was added later and made available via the aforementioned Platform Update 1