{"id":1251,"date":"2022-10-08T14:22:47","date_gmt":"2022-10-08T13:22:47","guid":{"rendered":"https:\/\/ibex.tech\/csharp\/?p=1251"},"modified":"2022-10-08T14:38:23","modified_gmt":"2022-10-08T13:38:23","slug":"releasing-project-sideloading-on-desktop-windows","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/projects-general\/deploying-project\/releasing-project-sideloading-on-desktop-windows","title":{"rendered":"Releasing Project &#8211; Sideloading on Desktop Windows"},"content":{"rendered":"\n<p>Sideloading is when you will manually install the app from the install files (not via the Microsoft store)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Releasing <\/h4>\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\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 solution <\/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; Sideloading<\/p>\n\n\n<p>Certificate<\/p>\n<p style=\"padding-left: 40px;\">If you&#8217;ve not created one before here&#8217;s how you can create a simple self-issued one (there has to be a certificate to be able to install the app):<\/p>\n<p style=\"padding-left: 80px;\">Create<br \/>Publisher common name: [a unique name for this app, e.g. &#8220;YOUR_COMPANY_NAME-MyProjectName&#8221; ]<br \/>Enter password: [you can leave password blank]<\/p>\n\n\n<p>Next<\/p>\n\n\n\n<p>Set you version number<\/p>\n\n\n\n<p>Select x64 (for 64bit Windows PCs)<\/p>\n\n\n\n<p>Create<\/p>\n\n\n\n<p>The app will then be built + packaged<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Installing on a Windows PC<\/h4>\n\n\n<p>Assuming you didn&#8217;t have an officially issued trusted certificate when you built your app, you will get a &#8220;certificate not trusted error&#8221; when you first try to install the app on a PC. Windows insists on a trusted certificate for UWP apps.<\/p>\n<p>To add your self-created app certificate to the PC:<\/p>\n<p style=\"padding-left: 40px;\">Right click .appxbundle file &gt; Properties &gt; Digital Signatures<br>Select the signature in the list &gt; Details &gt; View Certificate &gt; Install Certificate<br>Store location: Local machine<br>Certificate store: Place all certificates in the following store &gt; Browse &#8220;Trusted Root Certification Authorities&#8221;<br>Next<br>Finish<\/p>\n<p>Now you will be able to install the App \u2013 Double click the .appxbundle file to install.<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sideloading is when you will manually install the app from the install files (not via the Microsoft store) Releasing Microsoft docs: https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/publish\/ Log into the store: https:\/\/partner.microsoft.com\/dashboard Create the app. In Visual Studio Select &#8216;Release&#8217; Menu &gt; Build &gt; Run code analysis on solution Do any checks you have on the project, set version number [&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-1251","post","type-post","status-publish","format-standard","hentry","category-deploying-project"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1251","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=1251"}],"version-history":[{"count":7,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1251\/revisions"}],"predecessor-version":[{"id":1260,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1251\/revisions\/1260"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=1251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=1251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}