With the release of the Windows Phone 8 SDK I encountered some issues with an app I was creating with MMF2 and I wanted to share the resolutions to them with the group. This information may change with further updates from MMF to the XNA Exporter.
Please feel free to add to this thread to centralize info as we all find it.
- XNA is still supported with the Windows Phone 8 SDK FOR PHONES ONLY (this is the same for the full version of Visual Studio 2012).
- The WP8 SDK includes the WP7.1 templates and emulators
- You can't run the WP8 emulators if your system does not support Hardware Virtualization
- The WP7 SDK and WP8 SDK are supposed to be able to be installed side-by-side, but I ended up Refreshing my Win 8 PC and just installing MMF2 and the WP8 SDK to narrow down issues while troubleshooting.
MMF Exports Windows Phone 7.0 Projects
As far as I can tell, MMF only exports Windows Phone 7.0 projects. For the VS2012 Express (WP8 SDK) to open a project without a lot of reference errors it has to be Windows Phone 7.1.
You can update the project in the WP7 SDK, or you can do it manually.
To update the project manually edit the "<project name>.csproj" file with Notepad. In Notepad, at the top of the file under <PropertyGroup>, add the following: <XnaRefreshLevel>1</XnaRefreshLevel>
Save the file and open in VS2012.
Microsoft Advertising AdContol has a Warning Symbol and prevents deployment
If you look under REFERENCES in VS2012, the Microsoft.Advertising.Mobile.Xna will have "!" warning symbol. If you look at the properties, the version will be "0.0.0".
Right-click on the Microsoft.Advertising.Mobile.Xna reference and select "Remove".
Right-click on REFERENCES and select "Add Reference".
Select the "Microsoft.Advertising.Mobile.xna" reference under the .NET tab and click OK.
Save your project.
Back Button exits app
I haven't found a solution to this one yet. No matter how the behavior is set in the events for the "back button pressed" on the XNA object condition, it ends up exiting the application. Depending on your app, it may be major or minor, but it shouldn't prevent it from passing certification because the back button still "works".
-Steve