How to build appx file for windows store in xamarin - visual-studio

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

Related

Create an universal Xamarin project for iOS, android and windows phone

I have tried on a Mac OS X computer and on a Windows 10 PC. I want to create a mobile application with Xamarin. I want to run this application on both iOS, Android and Windows Phone devices.
When i am creating a new solution, i can choose a multiplateform Application Project, but it creates sub projects for each architecture. I want a single project common for the 3 architecture. Is it possible ?
Thanks
If you want to create a Cross Platform project you have to (in Xamarin Studio. If you want UWP, you have to use Visual Studio)
File -> New Solution
App -> Forms App -> Next
App name ->
Target platforms -> Select PCL or Shared Project (I prefer PCL) ->
Next
Location -> Create
at the end you should have a PCL project and X Platform Specific Projects
In order to create a full multi-platform app (iOS, Android, Windows phone, MacOS, Windows) you need to use visual studio on Windows. Using Xamarin Studio on the Mac will only allow Mac and Android projects. Still you want to create a Xamarin Forms App, Portable application.
Only Visual Studio you can create projects for platforms IOS, Android e UWP, for it you need connect your Mac the network (Xamarin Mac Agent) for build applications for IOS.
On IOS you only create projects on XamarinStudio or Visual Studio For Mac for platform Android and IOS.

Designer not working for Android Xamarin app

I am 100% new to Xamarin seem to have done something wrong in Visual Studio 2015. I am just trying to view my Main.axml file however the designer is giving me the following error:
A valid Android SDK could not be found. An existing SDK with platform tool and at least one platform needs to be registered with the IDE.
Do I need to do soemthing specific to fix this?
As you can see I am targeting Android 4.1 API 16.
Another weird issue is that the Android SDK Manager is disabled is this normal?
visual studio -> tools ->options:
To launch Android SDK Manager I have to launch Android studio and click on Android SDK Manager :
I had same issue with my sdk on visual studio. I could not open sdk manager from visual studio and xamarin designer could not open even though i pointed to an sdk location. however, other things worked correctly. Updating sdk from android studio and upgrading jdk to 1.8.0_102. solved my problem.
While the Xamarin is updating, that error can see.
Solved is found the tools zip file:
C:\Users\User Name\AppData\Local\Android\android-sdk\temp\tools_r25.2.4-windows (or your active last tools, doesnt matter. for ex. tools_r23.0.1)
-> Open that zip and unzip in "tools" folder.
-> Cut that folder and, paste parent folder (C:\Users\User Name\AppData\Local\Android\android-sdk)
Delete files from this path:
C:\Users\ ++ Your Windows Account Here ++ \AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache\

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.

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

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

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