Open siolfyr opened 8 years ago
It would be nice, even just to explain how to load content with the API2-working branch. When trying to load a simple ball.png file with
var texture = Content.Load<Texture2D>("ball.png");
I get:
An unhandled exception of type 'System.IO.EndOfStreamException' occurred in mscorlib.dll
Additional information: Unable to read beyond the end of the stream.
You need to use the content pipeline tool. You Clan configure it as Post Build Event - it takes an Input and an Output path.
With the Sharpex2D-1.3.0 release, as in the tutorials, it works right out of the box by adding the existing Sharpex2D / Sharpex2D.CSCore projects to your new project, but on the more recent commits of the master branch, this just leads to 'type or namespace could not be found' errors, so solutions made using the project won't compile.