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

Sample does not compile in Release

Topics: User Forum
Oct 6, 2008 at 3:17 PM
Edited Oct 6, 2008 at 3:18 PM
using Visual Studio 2008 + XNA 3.0
in the package "Farseer Physics 2.0 Alpha - XNA 3.0 beta (with samples)"
the project "GettingStarted" doesn't compile in release:
"'Vector2' is an ambiguous reference between 'FarseerGames.FarseerPhysics.Mathematics.Vector2' and 'Microsoft.Xna.Framework.Vector2'    C:\workspace\FarseerPhysicsEngineWithSamplesForXNA\GettingStarted\DrawingSystem\LineBrush.cs"
Oct 6, 2008 at 3:24 PM
Edited Oct 6, 2008 at 3:26 PM
Thanks yobiv. I forgot to remove the Vector2, Vector2, Matrix and MathHelper from the XNA release + updating compiler directives in release mode. Will upload an updated version today.
Oct 6, 2008 at 3:40 PM
It should be fixed now. Download the zip file again to get the new release.