{"id":676,"date":"2017-01-03T13:24:19","date_gmt":"2017-01-03T13:24:19","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=324"},"modified":"2025-02-05T15:17:46","modified_gmt":"2025-02-05T15:17:46","slug":"releasing-project","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/projects-general\/deploying-project\/releasing-project","title":{"rendered":"Releasing Project &#8211; For Windows IoT"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Pre Release Checks<br> <\/h4>\n\n\n\n<p>Open the &#8220;Visual Assets&#8221; manager: Package.appxmanifest > Visual Assets<\/p>\n\n\n\n<p>Store Logo <\/p>\n\n\n\n<p>Provide your own 50x50px logo <\/p>\n\n\n\n<p>Square 44&#215;44 Logo <\/p>\n\n\n\n<p>Provide your own 24x24px logo <\/p>\n\n\n\n<p>Provide your own 88x88px logo <\/p>\n\n\n\n<p>Square 150&#215;150&nbsp;Logo <\/p>\n\n\n\n<p>Provide your own 300x300px logo <\/p>\n\n\n\n<p>Square 310&#215;150 Logo <\/p>\n\n\n\n<p>Provide your own 620x300px logo <\/p>\n\n\n\n<p>Splash Screen <\/p>\n\n\n\n<p><strong>You must have a &#8220;scale-200&#8221; image for deployment to work<\/strong> (its the default one,&nbsp;others are optional) <\/p>\n\n\n\n<p>Supply 1 source image (2480x1200px ideal) and it will generate the rest from it.<\/p>\n\n\n\n<p>Files you add are renamed&nbsp;to &#8220;SplashScreen.scale-###.png&#8221; and stored in the solution explorer &#8216;Assets&#8217; folder. &nbsp;You can delete images from there if you need to. <\/p>\n\n\n\n<p>Package.appxmanifest &gt; Packaging <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Releasing <\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">In Windows Store<br> <\/h5>\n\n\n\n<p>Microsoft docs:<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/publish\/\">https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/publish\/<\/a><\/p>\n\n\n\n<p>Log into the store: <a href=\"https:\/\/partner.microsoft.com\/dashboard\">https:\/\/partner.microsoft.com\/dashboard<\/a><a href=\"https:\/\/www.microsoft.com\/en-gb\/store\/apps\/windows\"><\/a><\/p>\n\n\n\n<p>Create the app.<\/p>\n\n\n<p>Start your submission<\/p>\n<p>To keep it hidden from general users<\/p>\n<p style=\"padding-left: 30px;\">&#8216;Pricing and availability&#8217; &gt; &#8216;Visibility&#8217;<\/p>\n<p style=\"padding-left: 60px;\">Private Audience&gt; &#8216;Hide this app and prevent acquisition&#8217;<\/p>\n<p style=\"padding-left: 90px;\">Create a new group and add users email addresses to it.<\/p>\n<p style=\"padding-left: 30px;\">Make this product available but not discoverable in the Microsoft Store n+ Direct link only<\/p>\n<p><em><strong>Note you need to SAVE your settings!<\/strong><\/em><\/p>\n\n\n<h5 class=\"wp-block-heading\">In Visual Studio <\/h5>\n\n\n\n<p>Select &#8216;Release&#8217; <\/p>\n\n\n\n<p>Menu &gt; Build &gt; Run code analysis on soluton <\/p>\n\n\n\n<p>Do any checks you have on the project, set version number defines, etc. <\/p>\n\n\n\n<p>Open Package.appxmanifest file and check the options for your package. <\/p>\n\n\n\n<p>Menu &gt; Build &gt; Clean [MyAppName] <\/p>\n\n\n\n<p>Menu &gt; Build &gt; Rebuild [MyAppName] <\/p>\n\n\n\n<p>In solution Explorer right click the project &gt; Publish &gt; Create App Packages. <\/p>\n\n\n\n<p>Select distribution method &gt; Microsoft Store<\/p>\n\n\n\n<p>It should show your windows store account. &nbsp;Select the app name you&#8217;ve already created in the windows store. <\/p>\n\n\n\n<p>Pacakages To Create &#8211; Select only &#8216;ARM&#8217; <\/p>\n\n\n\n<p>The app will then be built + packaged<\/p>\n\n\n\n<p>Validate Store App<\/p>\n\n\n\n<p>When presented with &#8220;Launch Windows App Certification Kit&#8221; &gt; select &#8220;Use local device&#8221;<\/p>\n\n\n\n<p>Now you are given the option to do the &#8216;Launch Windows App Certifiation Kit&#8217;. &nbsp;We find this brings up a dos box and then stops. &nbsp;To get round this: <\/p>\n\n\n\n<p>Start &gt; Programs. Windows Kits &gt; Windows App Certification Kit &gt; Windows App Cert Kit <\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Possible Errors<\/h5>\n\n\n\n<p>&#8220;App manifest references the image &#8216;Assets\\SplashScreen.png&#8217; which does not have a candidate in main app package.&#8221; <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You must have a &#8220;.scale-200&#8221; image (its the default and required) <\/li>\n<\/ul>\n\n\n\n<p>&#8220;Unable to copy file ####&#8221;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is the path too long where the project is stored???<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">How to install options<\/h5>\n\n\n\n<p>Microsoft docs on this:<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/iot-core\/develop-your-app\/appinstaller\">https:\/\/docs.microsoft.com\/en-us\/windows\/iot-core\/develop-your-app\/appinstaller<\/a><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Adding to Windows Store<\/h5>\n\n\n\n<p> <br>On the Raspberry Pi it appears you can&#8217;t yet download your app from the store so we skip this currently&#8230;<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.microsoft.com\/en-us\/dashboard\/Account\/Management\">https:\/\/developer.microsoft.com\/en-us\/dashboard\/Account\/Management<\/a><\/p>\n\n\n\n<p>Click &#8216;Windows&#8217; in the top bar to go to the Windows apps you have. <\/p>\n\n\n\n<h5 class=\"wp-block-heading\">In the device Web Interface<br> <\/h5>\n\n\n\n<p>On the Raspberry Pi it appears you can&#8217;t yet download your app from the store, so you need to &#8216;sideload&#8217; it, &nbsp;which is Microsoft talk for how you install an app on a device directly.<\/p>\n\n\n\n<p>Go To &#8216;Apps&#8217; &gt;&nbsp;the &#8216;Install App&#8217; section <\/p>\n\n\n\n<p>You will be selecting files from the created &#8220;MyProject\/AppPackages\/MyProject_#.#.#.#_Test\/&#8221; folder<\/p>\n\n\n\n<p>First install the app certificate:<\/p>\n\n\n\n<p>&#8220;Install Certificate&#8221; &gt;  &#8220;Browse&#8221; &gt; Select your &#8216;Certificate&#8217; file: &#8216;MyProject_#.#.#.#_arm.cer&#8217; <\/p>\n\n\n\n<p>Press &#8220;Install&#8221;<\/p>\n\n\n\n<p>Now install the application:<\/p>\n\n\n\n<p>&#8220;Local Storage&#8221; &gt; &#8220;Browse&#8221; &gt; Select the &#8216;App package&#8217; file: &#8220;MyProject_#.#.#.#_arm.appxbundle&#8221;<\/p>\n\n\n\n<p>Allow me to select optional packages: No<\/p>\n\n\n\n<p>Allow me to select framework packages: YES<\/p>\n\n\n\n<p>Press &#8220;Next&#8221;<\/p>\n\n\n\n<p>Press &#8220;Browse&#8221; multiple times to select each of the files &nbsp;in the &#8220;\/Dependencies\/ARM\/&#8221; folder<\/p>\n\n\n\n<p>Press &#8220;Install&#8221;, wait for the installation progress to complete.<\/p>\n\n\n\n<p>The app should be installed without error. &nbsp;Then once installed it should appear in the &#8216;Apps&#8217; list below.  If you want it to auto run on startup then select where you can select it as the &#8220;Startup&#8221; app.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Resources<br> <\/h5>\n\n\n\n<p><a href=\"https:\/\/msdn.microsoft.com\/en-us\/windows\/uwp\/packaging\/packaging-uwp-apps\">https:\/\/msdn.microsoft.com\/en-us\/windows\/uwp\/packaging\/packaging-uwp-apps<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pre Release Checks Open the &#8220;Visual Assets&#8221; manager: Package.appxmanifest > Visual Assets Store Logo Provide your own 50x50px logo Square 44&#215;44 Logo Provide your own 24x24px logo Provide your own 88x88px logo Square 150&#215;150&nbsp;Logo Provide your own 300x300px logo Square 310&#215;150 Logo Provide your own 620x300px logo Splash Screen You must have a &#8220;scale-200&#8221; image [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-676","post","type-post","status-publish","format-standard","hentry","category-deploying-project"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=676"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/676\/revisions"}],"predecessor-version":[{"id":1355,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/676\/revisions\/1355"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}