I'm experiencing problems compiling a project in MonoDevelop on Linux. An error occurs during compilation in a line of code that I try to load a texture. The weirdest thing is that this only occurs in MonoDevelop, I tested the same project on the Rider and it worked flawlessly, no errors. Someone knows how I can bypass this situation in MonoDevelop.
The line where the error occurs is this:
var playerTexture = Content.Load<Texture2D>("Ship");
Excuse me for English (I'm using Bing translator).