I know there are some posts about how to make ini works on iOS, XNA, Android, etc.
I've read them but I can't get it work on Windows Phone...
I tried with a very simple example :
I have a file called "Fichier.ini" which contains only two lines :
In my application, I add my Ini file in the binary data : "C:\test\Fichier.ini"
In my scene I only have 2 objects : an Ini and a counter
My code contains 3 lines (in this order) :
-Run this event once : extract binary file "C:\test\Fichier.ini"
-Run this event once : Ini --> set current file to "C:\test\Fichier.ini"
-Always : set couter to ItemValue( "Ini", "test")
When I run the application from MMF2 : it works as expected i.e. : the counter shows "2"
When I build a windows application (and put it in a different folder) : idem --> the counter shows "2"
But when I build an XNA Project, load it with Visual Studio 2010 Express for Windows Phone and try it on my windows phone device (Nokia Lumia 800), the counter shows "0". The ini file doesn't seem to be loaded...
I tried to manually add the file "Fichier.ini" in the ressource folder in Visual Studio, and it doesn't work...
So, my question is : what am I doing wrong??
I don't know if it can help, but here is the folder containing the mfa application and the ini file :
And I work with BuildR257.12