How to deploy Apps in Windows Phone 8 Emulator for testing without having vs2012 installed in windows 8 machine? - windows-8

hi i am developing a windows phone 8 app , i have following doubts :-
How to deploy Apps in Windows Phone 8 Emulator for testing without having vs2012 installed in windows 8 machine,
since i cannot have a licensed version of vs2012 in my tester machine since i want to it use for descent amount of time , i.e more than 1 month or 3 months(not trail versions)
1) Can i Open Windows Phone 8 Emulator via Command Line with having vs2012 installed my tester windows 8 machine.
2) Will Application Deployment Tool Will Be available to deploy apps in emulator without Having vs2012 installed in my tester windows 8 machine.
3)Any Alternative of deploying apps into windows phone 8 emulator without having vs2012 installed in the machine.??/
Thanks in Adavnce.

You can't. Install Visual Studio Express 2012 for Windows Phone - it is free
http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-phone

1) You can start emulator with following command line:
"C:\Program Files (x86)\Microsoft XDE\8.0\xde.exe" /name "Emulator WVGA 512MB.username"
where username is your windows username.
2 & 3) You can deploy/run/delete apps using solution described in JustinAngel's answer https://stackoverflow.com/a/13429709/2087252 .
To make it work you'll need to reference following dlls from your project:
Microsoft.Smartdevice.Connectivity.Interface.dll
Microsoft.Smartdevice.Connectivity.dll
Microsoft.Smartdevice.MultiTargeting.Connectivity.dll

Related

Windows Phone development tools

I have installed vs-2013 and install Visual Studio 2013 Update 2 RC Windows Phone 8.1 development using this link https://dev.windowsphone.com/en-us/downloadsdk and after that I want to install sdk 8.0 using the above link but it gets me error below:
This Product can only be installed on Windows 8 or later 64-bit Machine.
But I have already installed windows 8
Kindle suggest me, waiting for your reply.
Thanks.
The download suggests the requirement for Windows 8 (x64) as does the Introducing Windows Phone SDK 8.0 blog. See: http://www.microsoft.com/en-us/download/details.aspx?id=42307 (Expand System Requirements) and http://blogs.msdn.com/b/visualstudio/archive/2012/10/30/introducing-windows-phone-sdk-8-0.aspx

Can't deploy Windows 8.1 application to Window 8 device

I am working on Windows 8.1 application and i have a device with Windows 8 OS. It seems many 8.1 applications can install in Windows 8 device from the store with a warning that "It will work better with Windows 8.1' .It is showing some error with certification When i try to deploy my Windows 8.1 app to the Windows 8 device . So want to know that is it possible to install Windows 8.1 app in Windows 8 machine? Must i upgrade the device OS to Window 8.1 before deploying ? What i need to deploy Windows 8.1 application in Windows 8 device?
Using Visual Studio 2013 in Windows 8.1 you can develop apps for two platform versions:
Windows 8
Windows 8.1
Apps targeted for Windows 8 will run in both, Windows 8 and Windows 8.1. Apps targeted for Windows 8.1 will only run in Windows 8.1
You can find the target platform version of your app by right clicking in the app project and then clicking in Application tab. There you will find the Target Platform Version.
When an app is published in the Windows Store, developers have the option to upload two packages, one for each platform version. It is almost sure that the Windows 8.1 version will be better than the Windows 8 version, since the APIs for 8.1 are better :)

Build Server and Windows 8 / RT Apps

I've a windows 8 app and a windows 2012 Build Server with Jenkins and / or Finalbulder Contiua.
No I can only install Visual Studio for WinRT Apps only on Windows 8 or later.
So this means ,that my build server has to be windows , right
is there a way to compule windows 8 apps on non windows 8 os ?
Is there some kind of "build win 8 sdk" for other os ?
Short answer: no, you'll need Windows 8 or Windows Server 2012.
A Jenkins-specific tip: I tried a number of things but did not manage to have it start apps when Jenkins runs as a service. Starting from a logged-in user account was the only way I could get it to work.
Also I'd like to recommend our Apprunner project which we developed to install, run and uninstall packages from within Jenkins.
Finally, if you're working on a Javascript-based app, you can have a look at the unit-testing-related code in our SQLite component which uses Jasmine and outputs JUnit/Jenkins-compatible test result files.

VS2012, Window Phone 8 Compilation Issues

I am trying to compile a Windows Phone 8 app on Visual studio 2012 but I keep getting an error stating that I need a 64bit machine running Windows 8 pro... but I have a 64bit machine running Windows 8.
Is there a Windows 8 Pro? There is only an Win8 Pro (Upgrade) and from the MSDN Downloads there are only Win8 and Win8 Enterprise.
Error Message
System Info
You need a Win8 Pro or Enterprise for Hyper-V roles. Your machine looks to be a Win8 basic edition.

Developing Windows 8 Metro-Style apps requires Windows 8 rc preview, right?

There's no emulator for Windows 8, so in order to develop metro apps I must install the release candidate on a device and run Visual Studio there, right? That's what this page seems to suggest, but I just wanted to double check.
Yes, Windows8 is required.
However, VM can be used. For example, I'm running Win8RP/64 and VS2012RC in Oracle VirtualBox on Win7/64.
NOTE: For developing Metro Style App, you should NOT install VirtualBox Extension Pack.
Yes, you need Windows 8 to develop Windows 8 Metro style apps.
Metro Style apps rely on a new set of APIs which are implemented only in Windows 8 through the the Windows Runtime (WinRT).
There is no emulator for Windows 7 and not even for Windows 8... Windows 8 has a simulator which in practice is just a Remote Desktop session to the same machine. It is not an emulator.
While Windows 8 is not in its final version, what I recommend is to install Windows 8 in a VHD (virtual hard disk) and boot your PC directly to the VHD. It is faster than running virtual machines (because only the disk is virtual, all the rest is real hardware) and you can keep your Windows 7 intact.
This is what I've been using since Developer Preview. I have a dual-boot configuration being one for the Windows 7 that is booting from the regular disk partition, and one Windows 8 that is booting directly from the VHD on disk.
Metro UI style is just a design approach and some guidelines. You are free to implement such interface using Visual Studio 2010 as well as 2008. Using C# and WPF everything is possible. But, indeed, new Visual Studio has a set of Metro style components (WPF) with which your development process will be much more quicker.
The only thing you can't use at OS other than Windows 8 - is WinRT subsystem.
Almost all of the development tools needed to build Metro style applications can be run on OS's other than Windows 8 (Visual Studio and the package creation tools require Windows 8). So it should be possible to set up a build environment using msbuild.exe (or even make/nmake) that will compile and link metro-style applications on an OS other than Windows 8.
However some parts of development MUST be done on Windows 8 - the tools for some of the steps of development will only run on Windows 8.