{"id":2183,"date":"2015-09-08T06:19:56","date_gmt":"2015-09-08T06:19:56","guid":{"rendered":"http:\/\/www.nikola-breznjak.com\/blog\/?p=2183"},"modified":"2015-09-08T06:22:59","modified_gmt":"2015-09-08T06:22:59","slug":"where-to-get-xap-file-in-windows-using-ionic-build","status":"publish","type":"post","link":"https:\/\/nikola-breznjak.com\/blog\/stack-overflow\/where-to-get-xap-file-in-windows-using-ionic-build\/","title":{"rendered":"Where to get .xap file in Windows using ionic build?"},"content":{"rendered":"<p><a href=\"http:\/\/stackoverflow.com\/users\/534755\/nikola\"><img loading=\"lazy\" decoding=\"async\" title=\"profile for Nikola at Stack Overflow, Q&amp;A for professional and enthusiast programmers\" src=\"http:\/\/stackoverflow.com\/users\/flair\/534755.png\" rel=\"lightbox[2183]\" alt=\"profile for Nikola at Stack Overflow, Q&amp;A for professional and enthusiast programmers\" width=\"208\" height=\"58\" \/><\/a><br \/>\nI&#8217;m a big fan of <a href=\"http:\/\/stackoverflow.com\/\">Stack Overflow<\/a> and I tend to contribute regularly (am currently in the <a href=\"http:\/\/stackexchange.com\/leagues\/1\/alltime\/stackoverflow\/2008-07-31\/534755?sort=reputationchange#534755\">top 0.X%<\/a>).\u00a0In this category (<a href=\"http:\/\/www.nikola-breznjak.com\/blog\/category\/stack-overflow\/\">stackoverflow<\/a>)\u00a0of posts, I will be posting my top rated questions and answers. This, btw, is allowed as explained in the meta thread <a href=\"http:\/\/meta.stackoverflow.com\/questions\/266971\/can-i-post-so-questions-and-answers-in-a-personal-blog\/266973\">here<\/a>.<\/p>\n<p>As you may know, I&#8217;m really into Ionic framework lately\u00a0and am helping out on StackOverflow with the knowledge I gained so far with the framework. I&#8217;m currently #5 All time answerer.<\/p>\n<p>I answered\u00a0<a href=\"http:\/\/stackoverflow.com\/questions\/32064712\/where-do-i-get-xap-file-in-windows-using-ionic-build\/32065955\">this question<\/a>\u00a0by user <a href=\"http:\/\/stackoverflow.com\/users\/4337270\/user-4337270\">user_4337270<\/a>:<\/p>\n<p>I am using Ionic framework for my project. As per ionic build I have used the build command for windows:<\/p>\n<pre class=\"lang:default decode:true\">ionic build windows<\/pre>\n<p>After the build I get the file structure as below:<\/p>\n<p><a href=\"http:\/\/i.stack.imgur.com\/GGaVs.png\" rel=\"lightbox[2183]\" rel=\"nofollow\"><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/GGaVs.png\" alt=\"enter image description here\" \/><\/a><\/p>\n<p>The issue is I&#8217;m not able to figure out were do I get the .XAP file inside the platform\/windows folder and I&#8217;m completely new on Windows build.<\/p>\n<p>My <a href=\"http:\/\/stackoverflow.com\/questions\/32064712\/where-to-get-xap-file-in-windows-using-ionic-build\/32065955#32065955\">answer<\/a> was:<\/p>\n<blockquote><p>I&#8217;m just posting this as an answer, to which we came in the comments under the OP&#8217;s question:<\/p>\n<p>Add the windows phone platform: <code>ionic platform add wp8<\/code>.<\/p>\n<p>Build for wp8: <code>ionic build wp8<\/code>.<\/p>\n<p>The file <code>CordovaAppProj_Debug_AnyCPU.xap<\/code> is the one you&#8217;re looking for.<\/p>\n<p>However, I would like to turn your attention to these few posts:<\/p>\n<ul>\n<li><a href=\"http:\/\/blog.vjrantal.net\/2015\/01\/08\/experiences-with-ionic-on-windows-phone-8-1\/\" rel=\"nofollow\">http:\/\/blog.vjrantal.net\/2015\/01\/08\/experiences-with-ionic-on-windows-phone-8-1\/<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/msdn_answers\/archive\/2015\/02\/10\/running-cordova-apps-on-windows-and-windows-phone-8-1-using-ionic-angularjs-and-other-frameworks.aspx\" rel=\"nofollow\">http:\/\/blogs.msdn.com\/b\/msdn_answers\/archive\/2015\/02\/10\/running-cordova-apps-on-windows-and-windows-phone-8-1-using-ionic-angularjs-and-other-frameworks.aspx<\/a><\/li>\n<li><a href=\"http:\/\/appfoundry.be\/blog\/2014\/10\/16\/ionic-windows-phone\" rel=\"nofollow\">http:\/\/appfoundry.be\/blog\/2014\/10\/16\/ionic-windows-phone<\/a><\/li>\n<\/ul>\n<p>which basically confirm what the official Ionic team says that the platforms wp8 and windows in general are not yet fully supported; but they hope they soon will be.<\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-width=\"550\">\n<p lang=\"en\" dir=\"ltr\">Where to get .xap file in <a href=\"https:\/\/twitter.com\/hashtag\/Windows?src=hash\">#Windows<\/a> using <a href=\"https:\/\/twitter.com\/hashtag\/ionic?src=hash\">#ionic<\/a> build? <a href=\"http:\/\/t.co\/PtsGU7AP8d\">http:\/\/t.co\/PtsGU7AP8d<\/a><\/p>\n<p>&mdash; Nikola Bre\u017enjak (@HitmanHR) <a href=\"https:\/\/twitter.com\/HitmanHR\/status\/641134176461291520\">September 8, 2015<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%).\u00a0In this category (stackoverflow)\u00a0of posts, I will be posting my&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1991,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,35],"tags":[],"class_list":["post-2183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ionic","category-stack-overflow"],"_links":{"self":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/comments?post=2183"}],"version-history":[{"count":4,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2183\/revisions"}],"predecessor-version":[{"id":2187,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2183\/revisions\/2187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media\/1991"}],"wp:attachment":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media?parent=2183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/categories?post=2183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/tags?post=2183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}