How to load a texture png - LoadContent() ?


I can not load a texture format PNG Windows Phone 8.1

var fs = new FileStream(“Content/logo.png”, System.IO.FileMode.Open);
var a=Texture2D.FromStream(GraphicsDevice, fs);

Not working!

texture = Content.Load < Texture2D >(“logo”);

Not working!

how to load it?

Thank you

Look at this thread: Content.Load<Texture2D>() is NOT Implmeneted for Windows Phone?