I have upgraded my sharepoint VS2008 workflow VS2008 project to VS2010 and When I did the build I got this error
"Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. "
To resolve it
Go to assembly file and remove this attribute and do a build should work