Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Listing files in the Assets sub-dicrectory

$
0
0

Hi,

I have problem in my Monogame project, but I think its a general one. I want to list files in the Content\Levels directory.

Here is the project structure: Assets\Content\Levels\Level1.txt Assets\Content\Levels\Level2.txt ... Level1.txt and Level2.txt have BuildAction AndroidAsset I tried (in Activity): Assets.List (@"Content\Levels") Assets.List (@"Content\Levels\")

everytime the list is empty...

Regards Koto


Viewing all articles
Browse latest Browse all 204402

Trending Articles