×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Publish wp8 then wp7 app

    I have wp8 app published on Windows Phone Store.

    Now I want to publish the wp7 version of the same app.

    What is the procedure, What should I write in version field ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    921

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by Shayan Rais View Post
    I have wp8 app published on Windows Phone Store.

    Now I want to publish the wp7 version of the same app.

    What is the procedure?
    You targeted your app to Windows Phone 8 right? If thats the case then you need to create a new project that targets the app to Windows Phone 7 and publish the new app. tricky part is that all Windows Phone 7 apps will run on Windows Phone 8 (with small exceptions) but apps targeted at Windows Phone 8 will not run on Windows Phone 7.

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    I have a separate xap of wp7 .. since wp7 runs on wp8 so will it overwrite my wp8 xap ?
    Thats not I want.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    478

    Re: Publish wp8 then wp7 app

    Just to be clear - do you want to publish your WP7 and WP8 app such that a WP8 user downloads the WP8 version only and a WP7 user gets the WP7 version only?

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    Absolutely theothernt !

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    478

    Re: Publish wp8 then wp7 app

    Ok, so the key here is the app GUID. This must be the same in *both* XAP files that are uploaded to the Dev Center.

    First, open your existing WP8 project in Visual Studio 2012, open the Solutions Explorer and look in the Properties folder for

    AssemblyInfo.cs

    Code:
    [assembly: Guid("0111ff04-928f-xxxx-xxx-c4038xxx1893")]
    WMAppManifest.xaml

    Code:
    <App xmlns="" ProductID="{ee12a0ba-20f4-4b98-8d3c-0606445492ef}" Title="Some app" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="Neil" Description="Sample description" Publisher="Neil">
    The ProductID isn't required but I'd copy it over anyway (ref: StackOverflow).

    Second, create a new Windows Phone 7.1 project in Visual Studio 2012. Now copy the values from the above file into that new project.

    Now the two apps have the same GUID, it's just a matter of copying over the code and resources and making changes where necessary.

    If you have used any Async/Await methods in WP8, they do not exist in WP7 - but they can be added in some cases, search NuGet for 'bcl async'. More info from the BCL blog on what it does.

    When everything is working, I'd recommend you try the 'beta app' feature of the Dev Center and test on a real WP7 and real WP8 device.

    And finally, some App submission tips for Windows Phone 7 and Windows Phone 8.


  7. #7
    Registered User
    Join Date
    Jan 2013
    Posts
    34

    Re: Publish wp8 then wp7 app

    Doesn't Microsoft change the product code before the app gets published. That's how I can have both the published app on my phone and the in development app.

    You can submit more than one xap for the same app.

    What am I missing here?

  8. #8
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    292

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by theothernt View Post
    Ok, so the key here is the app GUID. This must be the same in *both* XAP files that are uploaded to the Dev Center.
    as stated in the official tutorial
    You do not need to modify the manifest file of the Windows Phone 8 XAP to update the GUID; this is automatically synced with the WP7 XAP once you upload the new XAP.
    According to the tutorial, all he needs to do in the "Upload and describe your XAP" is add the two XAP files with the "add new" and make sure not to update instead of adding.
    Also the WP8 Xap version needs to be higher than the WP7 Xap

  9. #9
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    478

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by Loukt View Post
    According to the tutorial, all he needs to do in the "Upload and describe your XAP" is add the two XAP files with the "add new" and make sure not to update instead of adding.
    Also the WP8 Xap version needs to be higher than the WP7 Xap
    The tutorial mentions that the GUIDs are 'automatically synced' but does that happen in both directions? most of these tutorials assume you have an existing WP7 app and you're looking to add a WP8 version.

    I'd prefer to play it safe.

  10. #10
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by Loukt View Post
    Also the WP8 Xap version needs to be higher than the WP7 Xap
    But I have already published the wp8 app as version 1.0.0.0 .. Its currently available on the store
    Now just want to submit my wp7 as ..

    so what version should I write?

  11. #11
    Nokia Developer Champion
    Join Date
    Jul 2012
    Posts
    88

    Re: Publish wp8 then wp7 app

    Update the WP8 version, publish the WP7 app, and make sure you explain that to the testers in the comment field

  12. #12
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by WPMorocco View Post
    Update the WP8 version, publish the WP7 app, and make sure you explain that to the testers in the comment field
    Updating will also cause 5days ?

  13. #13
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    292

    Re: Publish wp8 then wp7 app

    Example, update the version of the WP8 Xap, actually it's "1.0.0.0" make it "1.1.0.0", and then clic "add new" to add the WP7 Xap and fill in the description, when finished add notes to the testers explaining what you are trying to accomplish.
    PS : changing only the version of WP8 xap will not take 5 days to update.

  14. #14
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    Quote Originally Posted by Loukt View Post
    PS : changing only the version of WP8 xap will not take 5 days to update.
    Oh I see .....

  15. #15
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Publish wp8 then wp7 app

    Windows 7 xap will work for Windows 7.5 , 7.8 as well ?

Similar Threads

  1. publish to ovi
    By a.dev in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 5
    Last Post: 2011-04-13, 17:30
  2. Also publish outside OVI
    By juhauta in forum [Closed] Publishing to Nokia Store
    Replies: 13
    Last Post: 2011-02-14, 18:59
  3. Publish a new app on ovi
    By syynapse in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2011-02-02, 15:23
  4. Publish my first app on Ovi
    By gcomanro in forum [Closed] Publishing to Nokia Store
    Replies: 12
    Last Post: 2010-12-30, 02:29

Posting Permissions

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