Registering Windows Tablet 8.1 for development of Windows Store Apps - windows-store-apps

I am using Visual Studio 2013 Professional (with a Store developer account connected) and I have a Windows 8.1 Lenovo tablet for which I'd like to try developing Store apps.
I am stuck right now because when I connect my tablet to my laptop (which has Visual Studio) using the USB port, and open "Windows Phone Development Registration" tool, my Windows tablet device is not recognized by it.
Any help in letting me know what I am missing would be greatly apprciated.
Thanks.

Windows systems aren't locked in the same way as Windows Phones are. You will need a free developer license to run development & test packages on the system, but don't need to use an external tool to generate it.
You can install a developer license with PowerShell by using the "Show-WindowsDeveloperLicenseRegistration" cmdlet. If you create a package for testing in Visual Studio then the Add-AppDevPackage.ps1 script will request the developer license if the system doesn't already have one.
Visual Studio will also request a license for you if you run it on the local system or if you launch the app via the remote debugger.
Documentation links:
Run Windows Store apps on a remote machine from Visual Studio, Deploy Windows Store apps from Visual Studio and Get a developer license (Store apps)

It works a bit different with tablets than with phones. If you don't need debugging - you can simply copy the appx onto the tablet and install it there. If you want to debug - you need to install remote debugging tools on it and specify in VS that you want to debug on a remote machine (click the little drop down arrow on the button here:

Related

Testing Windows Store app with Visual Studio Team Services

I'm trying to set up continuous integration testing for a Windows Store (8.1) app on Visual Studio Team Services (formerly Visual Studio Online).
Setting up build was fairly easy, but I have not been able to get it to run my unit tests on a Hosted Agent. So far I have:
Added /t:Publish to the build to produce the test runner .appx
Created a Powershell script to install the appropriate certificates onto the agent
Modified the test search path to find the .appx
Now, I'm getting errors about installing a developer license:
Error: Could not start test run for unit tests for Windows Store app: No valid developer license found for running unit tests for Windows Store apps. Please install/renew your developer license..
It does not appear to be possible to add a developer license strictly from Powershell or Command Prompt, so is there some other way of running the tests on a Hosted Agent?
Assuming you are using vNext build and Universal Windows Platform template by following this article.
As the developer license is deprecated in the Windows 10 operating system, Universal Windows Platform template doesn't require developer license. But if the computer that hosts the build agent will be used to perform unit tests for windows 8.x, developer license must be installed on the computer.
So, there is no way to run tests for Windows 8.1 on Hosted Agent. You need to deploy a Windows build agent or set up an on-premises build controller + build agent to test Windows 8.1 application.

How can I test an .exe made by Corona SDK on a phone running Windows Phone 8.1?

I just downloaded the latest Corona SDK, free version, and Visual Studio 2015 community edition. Corona allowed me to build an .exe file from one of the sample apps, and it runs OK on Windows 7. I want to test the .exe on my physical phone hardware.
I've seen mention of an Application Deployment feature that's supposed to come with Visual Studio and/or the Windows Phone 8.1 SDK which I also have installed. I don't see that anywhere. Pages I've seen mentioning a feature in VS under the Project menu also don't seem to apply, because I haven't built the project using VS in the first place. MS' docs seem out of date or at least incorrect in my case because C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment does not exist. I get the sense I am not looking in the right general direction.
I'm new on this but I'm sure that .exes don't work on Windows Phone, you have to make like a Universal App for that.

How do I add the Server Hyper-V Emulator 8.1 to my existing project?

I have Windows Server R2 DataCenter w/Hyper-V running, installed the SDK's for Windows Phone development and the Windows Phone Emulator 8.1 U1 is running. On my Windows 8.1 I use Visual Studio 2013 Community for my Universal App development and its also installed on the server.
As of now I have not made any settings changes on the server, so everything is at its default. I already had a working Universal App project running before deciding to use my server (due to I broke my Windows Phone device the other day) for testing my Window Phone app.
Now I have to do all my Windows Phone development on the Server after making modifications and addition to my Windows App on my development machine (NOTE: Windows 8.1 doesn't have a VT cpu).
So my question is, is it possible to add the Windows Emulator 8.1 U1 to my Windows 8.1 project from the Server? This way I don't to keep going to the Server to test the Windows Phone app.
Updated 4-1-2015: additional information and better explanation of question.
Thanks!...
As I understand, you'd like to be able to do the following:
You have a machine X for development, which you can't install emulators on
You have a server Y w/ Phone emulator running
You want to deploy your app directly from machine X to server Y
Unfortunately, remote debugging/deployment to an emulator hosted on a different machine is not supported by VS, at least as far as I'm aware. :(
One thing you could try is using Team Foundation Build to automatically build and deploy your app on your R2 server. You could implement it such that anytime you checked code in, it would be available for ad-hoc testing on your server a few minutes later. This would still mean using Remote Desktop to use the remote emulator, but it would automate the work of getting your changes over to the server. That way you wouldn't have to develop directly on the server.

How to package and upload my Cordova App to Windows Store from Visual Studio 2013

We paid a developer account in Windows Store (enterprise).
We created a Cordova 3.7 app for Windows Phone 8.1 and even we could test directly on a phone with Windows 8.1 from Visual Studio 2013 and everything worked in the hardware.
therefore, We begin to fill in the details for the App We need to publish in the store.
There is a section in which we are asked to upload a packaged App so here We have the chance of selecting it on the disk.
Our problem is We don't know how to create the pack and where in the disk Visual Studio left it.
We started to search in msdn.microsoft.com and these are the ideas we could get (but still couldn't make a pack):
1) Every where in MSDN they talk about a STORE option on Visual Studio. We can see this option in the ppal menu but all its options are disabled.
But in a forum, after searching a lot, We could figure out that this is normal for Cordova Apps on Visual Studio 2013 because they are considered as Silverlight Apps.
Then We find out again a doc in MSDN about uploading Silverlight Apps to Win Store. They say this kind of Apps must be packed and uploaded by hand.
2) So We focused in find out how to prepare a Windows Phone Silverlight 8.1 app for publishing.
This is a link in MSDN :http://msdn.microsoft.com/en-us/library/windows/apps/dn655122(v=vs.105).aspx
But a new problem comes out, We don’t have any Package.appxmanifest.xml file in our project but only have aWMAppManifest.xml file.
We finally find out only Windows Phone 8.1 projects on Visual Studio have the Package.appxmanifest.xml file and it seems that my Cordova Project was generated like a kind of a Win Phone 8.0, what is not that bad because we want our App to be supported by Windows P. 8.0 and 8.1 devices.
But at the end of all this journey, we are stuck at the first step again. So we realized we don't know how pack a Windows Phone 8 (Cordova) App in order to be uploaded to Windows Store.
How and where Visual Studio 2013 make the pack and what is the extension name of this file.
The App, as I said, is ok and can be deployed and executed OK in a real phone from Visual Studio (run button)
Sorry, We know the question is large but We wanted to clear what We had reached so you know What We are asking and What We could have done bad just in case.
Thanks in advance, We think a lot of people could profit of the answer of experts in this matter because a summary is needed, the info in MSDN seem disperse.
You cannot upload a Windows Phone Silverlight xap to the Windows Store, only to the Windows Phone store. To upload to the Windows Phone store you won't need the Package.appxmanifest for a Windows Phone 8 app (only for a Windows Phone 8.1 app).
You'll upload the xap file created when you build for release with the normal build process. You don't need to do any further modifications for a Silverlight app.
You can create either Windows Phone or Windows Store apps with Visual Studio Tools for Apache Cordova
Use Project->Store->Create App Packages.. from visual studio menu.
http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/#package-the-windows-version-of-your-app

Client Machine requirements to run windows8-style app?

I used Windows8 Release Preview and Visual Studio2012 RC to develop my windows8-style application, And I want to run my application on another machine(client).They have windows8 Release Preview on their machine . So here my question are:
Are they need to install any other software like Visual Studio2012
and .NetFramework4.5 on their machine or not?
Can anyone give me some helpful information related to client's
machine requirements to run metro app successfully?
Thank you.
Are they need to install any other software like Visual Studio2012 and .NetFramework4.5 on their machine or not?
You can test it with PowerShell, it may require .net framework to install and for detailed information follow the links below.
Refer these:
How to deploy a Metro App to the Desktop?
Will Metro-style applications be able to be installed outside the market frame?
Deploying Metro style apps to non-development systems
Sharing an app package locally (Metro style apps)
Deploying Windows Metro style apps from Visual Studio
Can anyone give me some helpful information related to client's machine requirements to run metro app successfully?
Check the Edit Section of the answer and the reference video in the another answer for your second query.
Supporting a Metro style Device App
Hope this help you explore about the metro app deployment.
You can also configure your machines to do remote debugging if you want. This is useful if your development machine is a traditional laptop or desktop but you want to debug your app running on a slate that has an accelerometer, GPS, multi touch, etc.
http://msdn.microsoft.com/en-us/library/bt727f1t.aspx has information on how to get that set up.