I am trying to load a texture into MonoGame using Xamarin Studio. My code is configured as follows:
Microsoft.Xna.Framework.Content.ContentLoadException: Failed to load game asset as file without content! ---> Microsoft.Xna.Framework.Content.ContentLoadException: The directory was not found. ---> System.IO.DirectoryNotFoundException: could not find part of the path 'C: \ Users \ Flame \ Documents \ Projects \ TestGame \ TestGame \ Bin \ Debug \ Content \ player.xnb. ---> System.Exception:
--- End of internal exception stack trace ---
at at System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath)
at at System.IO.FileStream.Init (String path, FileMode mode, Access to FileAccess, Int32 rights, useRights boolean, FileShare share, Int32 bufferSize, FileOptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at in System.IO.FileStream..ctor (String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at in System.IO.FileStream..ctor (String path, FileMode mode, FileAccess access, FileShare sharing)
at in System.IO.File.OpenRead (String path)
at Microsoft.Xna.Framework.TitleContainer.OpenStream (string name)
at at Microsoft.Xna.Framework.Content.ContentManager.OpenStream (String assetName)
--- End of internal exception stack trace ---
at at Microsoft.Xna.Framework.Content.ContentManager.OpenStream (String assetName)
at at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset [T] (String assetName, Action`1 recordDisposableObject)
--- End of internal exception stack trace ---
at at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset [T] (String assetName, Action`1 recordDisposableObject)
in Microsoft.Xna.Framework.Content.ContentManager.Load [T] (string assetName)
in TestGame.Game1.LoadContent () in C: \ Users \ Flame \ Documents \ Projects \ TestGame \ TestGame \ Game1.cs: 0
at Microsoft.Xna.Framework.Game.Initialize ()
in TestGame.Game1.Initialize () in C: \ Users \ Flame \ Documents \ Projects \ TestGame \ TestGame \ Game1.cs: 0
at Microsoft.Xna.Framework.Game.DoInitialize ()
at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run ()
in TestGame.Program.Main () in C: \ Users \ Flame \ Documents \ Projects \ TestGame \ TestGame \ Program.cs: 0