Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki tutorials no longer work #56

Open
siolfyr opened this issue Jul 1, 2016 · 2 comments
Open

Wiki tutorials no longer work #56

siolfyr opened this issue Jul 1, 2016 · 2 comments

Comments

@siolfyr
Copy link

siolfyr commented Jul 1, 2016

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.

@siolfyr
Copy link
Author

siolfyr commented Jul 4, 2016

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.

@ThuCommix
Copy link
Owner

You need to use the content pipeline tool. You Clan configure it as Post Build Event - it takes an Input and an Output path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants