User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28

Thread: XNA Exporter and Windows Phone 8 SDK - Important info and lessons learned, so far

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XNA Exporter and Windows Phone 8 SDK - Important info and lessons learned, so far

    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

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for sharing. Looking forward to CT's response.

    In the meanwhile, can you tell what is the practical effect of doing this: "You can update the project in the WP7 SDK, or you can do it manually.", i.e. what does it change?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MJK, the references in the wp8 sdk all need the minimum 7.1 (mango) compatibility. The Ad sdk was updated so if you want ads you definitely have to be at 7.1

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I see - thanks sbucci.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Thanks for the info. I'll get a new Windows 8 machine as soon as I complete the HTML5 runtime.
    For XBOX development, I'll look into Monogame library, which is supposed to allow you to make XBOX XNA games in Windows 8.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    leuvsion's Avatar
    Join Date
    Feb 2008
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the information sbucci, however when I follow these steps (using windows 8, Visual studio express for Windows Phone which came with the Windows Phone 8 SDK) I am getting this error, also same error if I try on a new blank XNA app.

    "An exception of type 'Microsoft.Xna.Framework.Content.ContentLoadExcept ion' occurred in Microsoft.Xna.Framework.ni.dll but was not handled in user code

    If there is a handler for this exception, the program may be safely continued."

    Any ideas?

  7. #7
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    leuvsion's Avatar
    Join Date
    Feb 2008
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah, seemed I was running a beta of MMf2, installed stock mmf2 and its working on my windows phone 8 device! however without changing any settings it WONT run on a windows phone 7.5 device now, how can we get it to be compatible for anything 7 or greater?

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I've got my new Windows 8 machine. As ssoon as I get a new HTML5 out of the way, I'll work on this.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    leuvsion's Avatar
    Join Date
    Feb 2008
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Francois, focusing my own efforts on Windows Phone for now has the most to grow so a good time to jump in

    p.s. will the HTML5 plugin make Windows RT compatible Apps?

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    If IE on these machine can play HTML5, they should be compatible.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. XNA, Windows Phone
    By Francois in forum XNA Export Module Version 2.0
    Replies: 6
    Last Post: 14th June 2013, 06:44 AM
  2. Using IAPs - Lessons Learned
    By DTownTony in forum iOS Export Module Version 2.0
    Replies: 70
    Last Post: 1st March 2013, 10:25 PM
  3. Windows Phone 8 SDK and XNA Exporter Advertising Reference breaks
    By sbucci in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 2nd November 2012, 08:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •