[fixed] Exception Loading Any Content

Hi there!

I’m getting a ‘Content Load Exception’ when trying to load any content in my game. I’m generating the content using the pipeline tool, and can’t really figure out what’s going wrong here.

The .xnb file for the texture I’m loading definitely exists at the supplied path:

And from what I can tell the settings in the Pipeline tool look OK:

But I’m getting the following exception:

A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll

A first chance exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in MonoGame.Framework.dll

The exception message says:

Could not load Common\\Textures\\ColourMaps\\MouseMask.xnb asset as a non-content file

And the inner exception is:

The given path's format is not supported

Any ideas what this might be related to? I’m running Visual Studio 2012 on Windows 8.1. I’m linking to the Windows (not Windows8) MonoGame assemblies, and the content project is set to build for Windows.

Thanks for the help!

Found the issue - looks like the content manager concatenates the root directory with the root directory full path for loading content.