I published a window application and using visual studio, I installed it on different computer but didn't run/open on both computers.
Before I publish it I run it in visual studio and it seem there's no problem. What can I do now?
Related
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.
Relevant Visual Studio Version Information -
Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL
Microsoft .NET Framework Version 4.6.00079
Visual C# 2015 00322-20000-00000-AA127 Microsoft Visual C# 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA127 Windows Phone
SDK 8.0 - ENU
Microsoft Emulator version installed 10.0.26624
Although in the Device Selector in Visual Studio it says 10.0.1024.0.
If I create a new UWP (Windows Universal App) and try to deploy it to any mobile emulator is fails with
"There were deployment errors. Continue?"
Investigating the output window and error list there is absolutely nothing there.
I can deploy the application when the target is Local Machine.
Hyper V has no virtual machines registered.
Any ideas?
the information you get "Hyper V has no virtual machines registered" suggest that your Hyper-V is disabled.
Try to type in coreinfo-v.exe in your cmd to find out.
Make sure that your processor supports Virtualization otherwise there is nothing you can do.:(
If you follow this link you will find quite a lot of information how to enable Hyper-V in your computer.
It's an article for Windows phone emulator 8.1 but still quite useful.
https://msdn.microsoft.com/en-us/library/windows/apps/jj863509(v=vs.105).aspx#coreinfo
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
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:
I have Visual Studio 2012 Pro and Windows 8 Pro. I went to install the Windows 8 SDK, and it installed fine on one of my computers, on which I installed the SDK before installing the Visual Studio 2012 Update 1. But on my second computer, where I installed the Visual Studio 2012 Update 1 before the SDK, I got the following error: KB2744908 Element not found.
Not sure if I would worry about this, or not.
I've attached a screenshot, so you can see the issue. Thanks!
It seems to have fixed itself. After rebooting and allowing the installer to finish after reboot, the SDK works fine. I have successfully created, edited, built, and deployed an application (albeit it was very simple) using the SDK.