MonoGame / MonoGame.Samples

A few cross-platform game samples using MonoGame.
www.monogame.net
Other
570 stars 298 forks source link

Fix some issues with loading Xml content #75

Closed dellis1972 closed 5 months ago

dellis1972 commented 5 months ago

Fix some issues where the code was using File.OpenRead to read xml files. This will not work on platforms like Android since the files will be in an Apk not on the file system. Replace this with TitleContainer.OpenStream which does the right thing on each platform. Also fix up the hardcoded content file paths which will break on case sensitive operating systems like Mac, iOS, Linux and Android.

Add some change to launch.json to use the maui vscode extension.