How to build appx and xap packages in the winjs universal project? - visual-studio

I didn't find how to build appx and xap packages in the winjs universal project. Please help.

Universal apps are appx, not xap (Silverlight).
In order to create one you need to go to the Solution Explorer in VS, right click on your project and hit Store -> Create App Package

Related

Why doesn't Visual Studio create an APK when building a Xamarin Forms app?

I'm using Visual Studio 16.2 Enterprise.
When I build my Xamarin Forms app the .apk file isn't created.
However when I deploy the app to the device the .apk is created at that point.
This means that when our build server does a release build, there's no .apk created.
I have the deploy option checked in the configuration manager for both debug and release builds.
Is there a way to ensure the .apk is created?
For your devops, you can add:
<AndroidBuildApplicationPackage>true</AndroidBuildApplicationPackage>
to your csproj (only works for RELEASE configurations).
source: https://learn.microsoft.com/en-US/xamarin/android/deploy-test/building-apps/build-process
You need to run the archive process found in the docs to build the APK file.

How to generate .apk for my cross platform application in visual studio 2015 (Xamarin)

I am currently making a cross platform mobile application . Where in I am targeting Android, IOS as well as the Windows OS.I have just made a hello world form and debugged it for android. Runs perfect on the emulator. Now want to send the .apk file to my coworker to see on her Android Mobile. How do i generate the .apk file???
Right click on solution with Android app and click on Archive more HERE
You have to run your application in release mode. The generated apk is located in the bin\release folder of the android project

How to build appx file for windows store in xamarin

I was searching in the internet but I don't found anything. How can I create release appx file in visual studio using xamarin?
Thanks!
Right button on Windows or Windows phone project -> Store -> Create App Packages

Xamarin Windows Phone Store Package

I' am in a bit of truble at the moment.
I try to build my Xamarin Windows Store App for publishing, but the Create App Packages Wizard, wont open I tried many solutions from the web, like unloading and reloading the project, or making a new project. But the wizard does not open with my solution i treid a normal Windows Phone app(no Silverlight), that worked but i could not Port my xamarin project to a standard Windows Phone App.
Has someone encountered a similar issue with Xamarin and Windows Phone,
or can anyone help to get my app into the Appstore?
Thanks.
I would have asked in the Xamarin Forum, but I cant reach them siche this morning.
And sorry for the engrish.
To submit package to the windows phone store you'll need to build your project (for ARM in Release mode to avoid warnings). Then on developer site when there is button to upload package you have to attach *.xap file from your project's bin\release folder (or bin folder you have specified). Then you can go through the next windows phone store app submitting steps.

WP 8: How to deploy/export Application from Visual Studio

in android, we right click to our project, click export and get the apk.
For windows phone 8 , in visual studio 2012, how can i export my application into my desktop or somewhere ?
Anyone can help about it ?
Thanks !
For Windows Phone you get a XAP file instead of an APK file.
The XAP in the ARM Release ie- ..\<Project Folder>\Bin\ARM\Release\ should be submitted to the Windows Store or Deployed to Device. Windows Phone Devices uses ARM based processors.
To generate the output-
First Select Release from the Solution Configuration DropBox.
Then go to configuration manager and change the AnyCPU field to ARM.
Then Build the project.
To Run on Device-
Open Application Deployment(a program that is installed with the
Windows Phone SDK)
Select Target Device(Phone should be connected by USB and Unlocked.
For WP 7 you need Zune.)
Browse and Select the XAP file in the \Bin\ARM\Release\
Click Deploy Button
To Run on Emulator- (use AnyCPU Build Configuration)
Open Application Deployment(a program that is installed with the
Windows Phone SDK)
Select Target emulator.
Browse and Select the XAP file in the \Bin\x86\Release\
Click Deploy Button
Each time when you build you project - Visual Studio builds XAP file, which is actual package for uploading it to Windows Phone Store or deploying to the real device.
This may help Submit your app
After building your application with VS, If you want to deploy your app, simply go to your Windows SDK folder for instance C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0
and open XapDeploy.exe under *Tools\XAP Deployment*
search for your *.xap file which is in your bin project's folder (for instance C:\Users\user\Documents\Visual Studio 2012\Projects\HTML5App1\Bin\Debug)

Resources