This project is read-only.

LoadContents

Dec 2, 2010 at 2:12 PM

In my project I do this.

in LoadContent

this.overlays[Scene.Begin] = Content.Load<Texture2D>("Content/Overlays/begin");

File in project

/Content/Overlays/begin.xnb

But he keeps saying can not find the file.
Value can not be null.
Parameter name: input

What else should I do? Thanks.

Dec 2, 2010 at 7:12 PM

Hi

In your Silverlight project using SilverSprite, you shouldn't have the .xnb file, but the "real" file, like .png. This .png file need to set to build as "Content".

Hope this helps.