Skip to main content


 

Symptoms


When I try to compile. It drops me a "warning MSB3270". And it says the architecture of processor doesn't match with the reference.
The 2 reference that I'm using are "SourceCode.HostClientAPI" and "SourceCode.Workflow.Client".
When I'm trying to compile with Any CPU it shows me that is trying to compile with "MSIL" and there are another architecture for the two reference.
SourceCode.HostClientAPI = AMD64
SourceCode.Workflow.Client = x86
And when I try to compile in x64 it sames that SourceCode.HostClientAPI compiles but not the SourceCode.Workflow.Client.
And when I try to compile in x86 it sames that SourceCode.Workflow.Client compiles but not the SourceCode.HostClientAPI.

For what I can see too, those two reference are compiled in .NET runtime V2.0 and my web service is in .NET runtime V4.5 but it has the right compatible configuration on the web.config for legacy .NET.
How can I solve this situation? I'm developing a web service.
 

Diagnoses


The error was caused by referencing different version of the dlls in the project. By Default,
1) The 32-bit version of K2 assemblies can be found in:
C:Program Files (x86)K2 blackpearlin
2) The 64-bit version of K2 assemblies can be found in:
C:Program Files (x86)K2 blackpearlHost Serverin - this is the AMD64 file
 

Resolution

The issue was resolved after referencing same version of the dlls.




 
Be the first to reply!

Reply