I've got some data in .xml files that I want to use as-is in my game. In older versions of XNA, I was able to add the .xml file to the Content, set the "Build Action" to "None", and set "Copy to Output Directory" to "Copy If Newer" and I could load it with a simple XDocument.Load() command.
So for example, if I had \Levels\Level0\def.xml, I could load it with:
XDocument level = XDocument.Load(@"Content\Levels\Level0\def.xml");
I'm now trying to port my game to the new Windows Phone 7 platform, but the process seems to be different, 'cause I'm getting an error every time I try to load. It's not seeing my raw .xml file in the application .xap package. Is what I want to do still possible on the WP7 platform?