Dave Vronay
Dave Vronay

Reputation: 635

Error creating a new MonoGame project from Xamarin Studio

I was trying out MonoGame. I installed the MonoGame add-in, and then created a new Universal Project. Looked good.

Then I noticed that both the Mac and Android projects created had bad references to a MonoGame assembly. Some googling revealed this is a known issue, and I was able to remove the bad reference and add the correct one.

But now when I build, I get an error: Error: /Users/davevr/Documents/github/MonoTestGame/iOS/MonoTestGame.iOS.csproj could not import "$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.targets"

I can't find these files anywhere on my machine so I am not sure what the issue is.

Any help would be appreciated!

Upvotes: 0

Views: 160

Answers (1)

Jon Douglas
Jon Douglas

Reputation: 13176

Did you install the MacOS download?

http://www.monogame.net/2016/03/17/monogame-3-5/

It should install those targets to your machine. It might also be possible that the project templates are old and do not correctly reference the right paths.

Upvotes: 3

Related Questions