Problems setting up MonoGame 3.5 Dev version on windows

So i downloaded the development build version for VS 2013 (http://www.monogame.net/downloads/) since i thought it may be an upgrade to 3.4 (didn’t notice there was a newer one before).

Now, just setting up a “MonoGame Windows Project” doesn’t work any more (it did on 3.4 without any problems).

So i just have the default project and it won’t compile because:
“The type or namespace name ‘Xna’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?) c:\users\me\documents\visual studio 2013\Projects\Game1\Game1\Game1.cs 8 36 Game1”

Ok, that is wierd since these should be included in the default monogame.Framework reference. What am I doing wrong?

I could of course add the actual XNA references in my references (add them directly from my XNA directory), that fixes the compiling problems, but obviously defeats the purpose of using Monogame and it messes up the types since they are ambigous now.

Am a noob in this kind of Visual Studio set up, any idea?

I did just that a day or so ago (downloaded and installed latest dev version), and created a new MonoGame Windows Project. The only issue I had was the .NET Framework version wasn’t correct (was 4.0, should have been 4.5, which I have just added a PR to fix).

It adds a reference to MonoGame.Framework.dll which by default is installed in C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows. Check you have that directory (or your localized version of Program Files (x86)).

You shouldn’t reference the XNA assemblies. MonoGame is an API compatible project so when it says “missing type or namespace Xna” its actually referring to the MonoGame.Framework.dll not being found.

I just replicated the issue. Its because the default templates is targeting v4.0 when it should be v4.5. This is an issue we just found . change your project to target v4.5 and it should work

@KonajuGames snap :wink:

Just merged https://github.com/mono/MonoGame/pull/4608

Should have a development build in about 30 mins.

holy shit thanks guys. I’ll try it right away.

Btw, when are you gonna put up 3.5 on the main download page? Any milestones left to hit?

EDIT: Works now. Models don’t have a default vertex color any more.