次の方法で共有


Submitting a Project Siena app to the Store

In this blog post I’ll describe the steps to take an app created with Project Siena and submit it to the Windows Store. Note, this is an interim method that leverages the Store wizards in Visual Studio Express – but you will not need to do any programming.

[This post has been updated for Beta Refresh (November 2014)]

Prerequisites

Register for a Developer Account: https://msdn.microsoft.com/en-us/library/windows/apps/jj193592.aspx.

Have “Visual Studio Express 2013 with Update 4 for Windows” installed. Free download from https://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8

Produce the app

Create your app in Project Siena and publish it (File | Publish) to a destination on your machine. This produces a folder called PublishedPackage. Double click on InstallApp.exe within this folder and choose “Install on this PC” – if prompted, sign in with your Microsoft Account.

You will also see a sub-folder with your app name within PublishedPackage. Download the ProduceAppForStore.zip from https://aka.ms/ProjectSienaProduceAppForStoreNovember2014 (Beta 3 users: https://aka.ms/ProjectSienaProduceAppForStoreBeta3) and extract all files into the PublishedPackage\yourappname sub-folder. Accept when prompted about overwriting an existing file.

One of the extracted files is ProduceAppForStore.cmd, double click to run it. If you get a message “Windows protected your PC,” click on “More info” and choose “Run anyway.” This script will modify published files and open your app in Visual Studio, ready for you to take the standard Store publishing steps.

Submit the App to Windows Store

At this point, you have an app like any other that a developer might have created in Visual Studio. You can see your app working anytime by pressing Ctrl F5.

Follow the Store submission instructions at https://msdn.microsoft.com/library/windows/apps/hh454036(v=vs.120).aspx. Below is a brief summary:

  1. Select Visual Studio menu Store | Reserve App Name, and choose the desired name for your app.

  2. Select Store | Associate App with the Store, and follow dialog to associate with the reserved app name.

  3. Select Store | Edit App Manifest, select the Capabilities tab, and uncheck any capabilities that your app does not use, like Camera, Microphone, Internet or Private Networks.

  4. In the Solution Explorer window inside Visual Studio, double click on privacy.html to review and edit your app’s Privacy Policy:

    • Remove the placeholder text "[REVIEW PRIVACY POLICY]" and edit the rest of text to accurately describe your app’s privacy policy

    • Substitute "[INSERT EMAIL ADDRESS]" with your own email address(es). The text should now look like this:

      <a href="mailto:someone@somewhere.com">someone@somewhere.com</a>

    • Substitute "[INSERT DATE]" with the actual date

  5. Choose Store | Create App Packages, and follow dialog to create the app package (.appx file). You will see a path to your .appx, copy and keep it for step #6.

    (You may encounter an error “Manifest reference file images\storeLogo.png” which not part of payload.” You will need to mark this file in its properties Package Action:Content. If that doesn't work, retry the above steps.)

  6. Choose Store | Upload App Packages to open the Developer Dashboard website. There, provide the information required by the Store:

    • In the “Packages” section, select your .appx using the path from step #5

    • In the “Description” section, make sure to choose the Windows 8.1 tab (Beta 1 users: Windows 8) – Note: Your Beta 2 app will only run Windows 8.1

    • When all information has been provided, the “Submit for certification” button will be enabled -- click to finish

 

At this point, you will have submitted the app you created with Siena to Windows Store for certification and publishing.

 

Vijay Mital, General Manager, Project Siena

Comments

  • Anonymous
    January 01, 2003
    Nick.WangBo: can you please give some details on why and how you upgraded the project. Was this after the above described steps?All: We will shortly be creating a Forum where technical questions can be asked and answered in more depth. More on this soon ...
  • Anonymous
    January 01, 2003
    Nirmal Chennai: ProduceAppForStore.cmd renames AppxManifest to Package.AppxManifest. Please make sure that you select "Run anyway" in the security dialog and ensure that you have write permissions to the folder.
  • Anonymous
    January 01, 2003
    Hi Vijay,I tried the entire process and when opening in visual studio, it shows missing file Package.AppxManifestThen i renamed to AppxManifest to Package.AppxManifest and everything went smooth.Now, i am in process of submitting to the store. Will keep you posted.Thanks for making this-- NirmalChennai
  • Anonymous
    January 01, 2003
    Odd to have users install outdated versions of vs express instead of the current one. is that to maintain "siena- produced-app" backward compatibility to windows 8 (build 9200) ?
  • Anonymous
    January 01, 2003
    Hi again, I've tried, but get this from the WindowsStore:Technical compliance: failed This tests your app with the Windows App Certification Kit. You can also run this the test locally from the SDK. Learn moreOne or more of the Windows App Certification Kit tests failed. Test your app with the Windows App Certification Kit on your computer to get more detailed info about this error. Could you please describe the prosess about the Test Certificate in detail?
  • Anonymous
    January 01, 2003
    Great News... :) Looks like this is working... :) Will try more tomorrow. And hopefully this will become more automated directly from the Siena App itself when Beta-periode is over... :)Dont rest! Keep on blogging and please some videos With excampels... :Terje - Norway
  • Anonymous
    January 01, 2003
    Hi Anonymous, did the certification report have additional details regarding the failure?In step 5 of the instructions (Create App Packages), the last page of that wizard has a button labeled "Launch Windows App Certification Kit" which will let you run the certification tool locally. Can you try running that and seeing if it passes?Thanks,Bao
  • Anonymous
    January 01, 2003
    Good News, but when i upgrade this project to windows 8.1, run this app again and seems has some error.