Symptoms
The following warning message is seen during a deployment of a project from Visual Studio:
Warning - There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "SourceCode.HostClientAPI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. VSCSWinWF-32bd1bcc641e4ab9afc5662c127383e1
Diagnoses
This is a known issue, and it specifically relates to projects pointed to deploy against "Any CPU". Because some of the K2 library is built against AMD64, .NET will warn that "Any CPU" and "AMD64" are different in name.
Resolution
The following bug has been logged against this behavior:
Bug 406801: K2forVS2010 (Any version really) - Warning - "mismatch between the processor architecture of the project being built" when using Exchange / Active Directory Events. (Other events too)
The message can safely be ignored during deployments. If you are experiencing this behavior during a K2 for Visual Studio deployment, please contact K2 Support in order to get the item logged.