Open dazinator opened 7 years ago
I think the issue might be to do with this - read the section titled "Item Metadata Augmentation" here: http://www.cazzulino.com/xbuild-achilles-heels.html
I think this might be the problem that's happening here: https://github.com/Jjagg/MonoGameContentReferenceTest/blob/master/TestMgcb/MonoGame.Content.Builder.targets#L38
To test with xbuild on windows I did this:
mongame
folder containing monogame targets fromC:\Program Files (x86)\MSBuild
intoC:\Program Files (x86)\Mono\lib\mono\xbuild
. This is because when running xbuild this is where$(MSBuildExtensionsPath)
seems to resolve to.C:\Program Files (x86)\Mono\lib\mono\xbuild\MonoGame\v3.0\MonoGame.Content.Builder.targets
xbuild {path to .csproj} /verbosity:diagnostic
The build failes for me with a null ref exception. Here is the detailed output: