[Dynamics CRM]Microsoft.Crm.Sdk Reference 環境問題

  • 3673
  • 0
  • 2011-10-14

在執行 Debug Mode 一直發生...

在執行 Debug Mode 一直發生

Could not load file or assembly 'Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Google了一下

XD 原來是因為我的 W7 用的是 64bit, 所以 Reference 的 CRM SDK 一樣也要用 64bit…

參考自 : BadImageFormatException when updating a Dynamics CRM Plug-in