cannot convert from vector 2 to vector 2

Feb 19, 2009 at 2:39 PM
i get 100's of these errors after converting my project back to pc from a 360 project (ive fixed everything else but cant figure this out)

Error 39 Argument '1': cannot convert from 'FarseerGames.FarseerPhysics.Mathematics.Vector2' to 'Microsoft.Xna.Framework.Vector2' 
Error 65 Argument '1': cannot convert from 'Microsoft.Xna.Framework.Vector2' to 'FarseerGames.FarseerPhysics.Mathematics.Vector2'

any help would be apprisiated
Feb 19, 2009 at 4:12 PM
I had this same problem. Both XNA and Farseer have their own definitions for the Vector2 object, and they aren't directly compatible.

I solved this problem by recompiling my FarseerPhysics.dll reference while setting the solution platform (the dropdown at the top of Visual Studio) to x86 before I ran the FarseerPhysics compile.