How to create Xap file - c#

I'm new in WP development, and now stand before unbreakable wall:
Working in Visual Studio Express 2013
I created a simple journal app, all works fine in emulator and device.
But when i was needed a xap file to upload it to windowphone store, and on top panel i choosed
release-> any cpu , righ click on project name in solution explorer -> rebuilt solution ....
there is no xap file in the Bin directory, there is .exe and .pdb and others... but .xap is missing.
When i created a project, i choosed windows phone app -> empty app (windows phone)...
And just tested, if i'm creating a new silverlight app: windows phone app -> empty app (windows phone silverlight) , xap file is saving without any problem.
So how to save my project, how to create a xap file from my xaml + c# project
Thank you very much!

Silverlight Apps create .xap files, for Universal Apps (like the one you created) a .appx file will be created instead. Perhaps it is called .appxupload. Those packages reside in the subfolder AppPackages inside your project.
So if you take that file you will be fine. The store accepts those as well. The App will only support WP8.1 however.
If you need help in creating the .appx packages using Visual Studio 2013 you can refer to this article: http://msdn.microsoft.com/en-us/library/hh975357.aspx

Related

UWP Scenario - Is there a way to have a UWP app on the same computer both from the Store and from Visual Studio at the same time?

My question is really simple: I’m a UWP developer and I developed some UWP app for the Win Store.
The problem is that I would want to use these apps on my own too, but I can’t, because I have to have deployed version from Visual Studio for testing new features and new versions.
To the point... is there a way, for an own UWP app, to have both “Store” and deployed version of it, right on the same PC with the same user?
For your scenario, we could make a project copy, and regard the copy as developer type, open the project with Visual Studio and double click Package.appxmanifest file then find Packaging tab option modify the package name to another. click the Local Machine button. You will find the new app in the start menu and the app will not override the store version.

Windows Phone 8.1 build appx file with Visual Studio Ultimate 2013

I use Visual Studio Ultimate 2013 to build first Windows Phone 8.1 app.
After build, I get appxupload file and appx file.
And after that, I upload file to store, but I get Attention is can't test my app.
So, I use real phone to test with appxupload file and appx file, but 2 file can't install on phone.
And I build app again, I see "the option to create x86 package is disabled because it's not valid package that can be published to the windows phone store".
Do I miss something?
Why appxupload file and appx file can't install on phone?
How to build correct file upload to store?
Do I miss something? Why appxupload file and appx file can't install on phone?
For Windows Phone 8.1 app, you could deploy and test your app in Windows Phone Emulator first. While it would be highly recommended to test your app on actual device before you upload it to the Store.
For sideloading Windows Phone 8.1 app, you could try to use the Application Deployment tool:
• First you have generate your app package
• Then make sure the device is registered and connected
• Find the Application Deployment tool in Start menu
• Run the tool and browse the package file (.appx) then click deploy
For details, please refer to Deploy Windows Phone 8.1 apps with the Application Deployment tool.
How to build correct file upload to store?
To make your app pass the certification, you could re-create your app package following Create a Windows 8.1 app package.
After you finish generating package, please ensure your app pass the Windows App Certification Kit test first, which is not necessary but a best practice before submitting package to the Store.
It seems that your app fail to pass the certification for “the app must be testable”. You might as well add some notes for certification to the tester:
e.g. if your app requires users to sign in to a service, you need to provide a test account in it. This can ensure your app is tested correctly.

How do I deploy local data files to my phone along with my app?

The following is in regards to Xamarin.
I recently deployed my app to my phone using Free Provisioning.
So my app is pulling data from a directory inside of the projects directory called [projectname]datafiles, although when I deploy it to my phone, when I search/query the data it crashes the app, so I'm guessing that the data is not actually there so my guess is that it actually hasn't even been deployed to the device within the package contents of the app, my question is...
Does anyone know how to add these data files to the deployment of the app so I can use the app fully functioning?
Thank you,
Luke.
You can deploy files with your app package by marking them as Build Action "Content" or by placing them in the Resources folder as "Bundled Resources".
See the File System docs for more info.

How I create application file like .apk for Windows Phone?

I'm developing Windows Phone application.I'm finished.I need application file.How I create application file like .apk for Windows Phone ?
When you build your project you should get a .xap file somewhere in your projects directory.
I have not worked with Windows Phone myself, so i do not know exactly where. But if it is like desktop C#, the default is bin/release, or bin/debug if it's a debug build.
.apk file is an Android file which contain whole application. For Windows Phone 7 equivalent is .xap file. This is just a zip file with the app and resources. Just remember to upload the release one from Documents\Visual Studio 2010\Projects\AppName\Bin\Release\.

How to access to the items in Applications folder

In Windows 8 Developer Preview there was an "Applications" folder, with all the metro and desktop applications. I discovered that this folder stil exist in Windows 8 Consumer Preview.
How I can read all elements in this folder with C#??
The folder is:
%­windir%\explorer.exe shell:::{4234d49b-0245-4df3-b780-3893943456e1}
You have a tutorial to access to Application Folder in Win8 in this URL:
http://justinangel.net/ReverseEngineerWin8Apps

Categories