Could not run workflow validation because file '{0}' has an incorrect format. This will not prevent workflows from running; ...

Could not run workflow validation because file '{0}' has an incorrect format. This will not prevent workflows from running; but any workflow that has a validation error will fail at runtime. If the file is a platform-specific library or executable, consider building the project using MSBuild.exe from a command prompt of the targeted platform.