This project has moved. For the latest updates, please go here.

Adding Farseer to Monogame

Topics: Developer Forum
Sep 24, 2014 at 11:54 AM
I take my Farseer Physics Engine and drag+drop it into my MonoGame project (I use Visual Studio). When I try to build it types conflict each other as seen in

Is there a guide or something that helps me build this correctly and set up Farseer for my project? I guess I can remove the file giving the "Duplicate" errors, because it came with?
Marked as answer by SmekarHans on 9/25/2014 at 4:40 AM
Sep 26, 2014 at 8:31 PM
When you say "Drag and drop" I assume you mean the prebuilt binaries?

If this is the case, you can't do that. If you're using MonoGame, you'll need to download Farseer's source code, replace all of the XNA libraries with that of MonoGame.Framework, rebuild them and use those instead. The conflicting types you're getting are due to the mismatch between XNA and MonoGame.