@6thVenom wrote:
Hi there, i got a problem on my multiplatforms project.
I need to load XML files that define my spritesheets, so i load the actual sheets like:_content.Load(@"Sprites/sheet01");
but i load XML as XDocument like this:
XDocument XMLinput = XDocument.Load(_content.RootDirectory + "/" + _sheetName + ".xml");
on win & linux it's ok. but on mac osx the game searches for content folder in the "resources" folder, except for xmls, it searches the content folder in the "macOS" folder... ?!?
If Content.RootDirectory doesn't return the right path, how can i get the right one ON EVERY PLATFORMS?
Thanks
Posts: 3
Participants: 2