*I had a previous post somewhat like this but there was no reply, maybe because it didn’t make any sense
I am having problem building a monogame application on Linux Mint 18.1. I installed all the dependencies for monogame (except rider) and mono-complete, I even installed dotnetsdk, but evem when I try to build the generated code monogame makes, monodevelop6 keeps saying for all the namespace like using System; and even XNA namespace like using Microsoft.XNA; the ide highlights: “directive not necessary” and the same problem happens when I try to build other projects in monodevelop6
Does this prevent building the game? If not, I suspect the IDE is just telling you that, since you haven’t used anything from those namespaces in your code, those using statements aren’t necessary
Could this be similar to the issue I had with my game’s server on linux? When I compiled it over ssh using xbuild, it kept complaining that it couldn’t resolve ANY assembly references. I worked around it by building all my projects for .NET 4.5 rather than .NET 4.5.2 and doing something else, just can’t remember what. Had to do with the ToolsVersion in the csproj files though.
I fixed it I had to update my mono, so i added the ppa and installed mono-complete, then i
reinstalled monodevelop6. Build is now successful but now i get this when i try to run the program:
Could not resolve type with token 01000147 (from typeref, class/assembly OpenTK.ToolkitOptions, OpenTK, Version=1.1.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4)
You might want to try a newer version of MonoGame. OpenTK is no longer used for desktop on MG 3.6 and it’s not used at all anymore on the develop branch.