This is the line that gives me the error.
<Exec Command=""$(MonoGameContentBuilderExe)"
/@:"%(ContentReferences.FullPath)" $(Header)"
WorkingDirectory="%(ContentReferences.RootDir)%(ContentReferences.Directory)" />
It is from the MonoGame.Content.Builder.targets file.
The full error is:
The command ""C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools\MGCB.exe" /@:"C:\Users\Jake\documents\visual studio 2015\Projects\FirstGame\FirstGame\Content\Content.mgcb" /platform:Windows /outputDir:"C:\Users\Jake\documents\visual studio 2015\Projects\FirstGame\FirstGame\Content\bin\Windows" /intermediateDir:"C:\Users\Jake\documents\visual studio 2015\Projects\FirstGame\FirstGame\Content\obj\Windows" /quiet" exited with code -532462766.
I have been converting this game from Visual Studio 2010 to Visual Studio 2015, which is when this error started. Does anyone have any insight into what may be causing this?
It turned out that I was attempting to load in an image file made in gimp which has an unsupported file type. I just needed to export it as a png and it worked fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With