Dec 2, 2010 at 1:12 PM

In my project I do this.

in LoadContent

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

File in project


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 6:12 PM


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.