How to run windows phone app from visual studio? - visual-studio-2010

I am developing phone gap application for windows phone.I am using visual studio 2010 & windows phone sdk 7.0.
How to run my application on windows phone 8?Or I have to run it on windows phone 7.
I am unable to connect my windows phone os 8 to visual studio.
Please help

If you have a windows phone 8 device which you want to use for app debugging purpose, you NEED the Windows Phone SDK 8.0 installed, which needs at least a 64-bit Windows 8 Pro or better.

If i haven't forgotten something, then Phonegap has 2 project templates - 1 for WP7 and 1 for WP8. Which allows to think that WP7 project won't run on WP8.

Related

Is It Possible To Run the windows 7.1 apps in windows phone 8

i have windows 7(OS), visual studio 2010, windows sdk 7.1, my phone is Nokia Lumia 525
could you please tell me whether my apps run in my device or not?. and also is it possible to install windows sdk 8 and visual studio 2012 for windows phone in windows 7(OS), if it is possible, tell me stepwise and also send download link about windows sdk 8 and visual studio 2012 for windows phone
Thank you
No to both questions.
It is not possible to run Windows apps on Windows Phone. This is regardless of the versions of either.
If it not possible to install the SDK for "Windows Phone 8.0" on a Windows 7 machine. (system requiements)
However, according to the system requirements you can install the 8.1 SDK on Windows 7
Note also though that Windows 7 is out of support in a few months (on 13/01/2015) so you should probably consider upgrading. Especially as the 8.1 SDK lets you build "universal" apps for Windows 8.1 and Windows Phone 8.1

Develop Windows Phone on Visual Studio 2013 On Windows 7

I own a Windows 7 (Home Premium) and Visual Studio 2013.
As a part of a project for Uni, we are required to write an application for Windows Phone, basically - they require for Windows Phone 8, but I even think that Windows Phone 7 will do.
My question is this:
Other than installing Visual Studio 2012 + WindowsPhone7 SDK or Installing Windows 8 and Visual Studio 2013, or using a VM with one of these -
Is there a way to develop for Windows Phone 7 or 8, under Windows 7???
I don't currently have a physical windows phone and will have to use an emulator for that.
Windows phone 8/windows store apps under windows 7 OS is not possible, you need a windows 8 OS
You can develop for windows phone 8/windows phone 7 (7.1) with windows 8 OS
Windows 7 OS obviously supports windows phone 7 development
See this post
there are other hardware requirements such as Hyper V for windows phone 8 emulator support in windows 8 OS
Hy,
You can keep both versions of VisualStudio on the same machine, but keep in mind that if you want to develop applications for Windows8 or WindowsPhone8 on Windows7 operating systems this is not possible because you miss the new framework WindowsRuntime, so I advise you to keep windows 8 as operating system, VisualStudio 21012 + sdk for WindowsPhone7 and VisualStudio 2013 SDK for windowsphone 8 and developments already built for Windows Phone8.
You cannot develop a WP8 app on Windows 7. You can develop a WP7 app on Windows 7 using VS 2010 plus the WP7 SDKs - WP 7.1 SDK, WP7.1.1 SDK, WP7.8 SDK - http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/01/22/now-available-windows-phone-sdk-update-for-7-8.aspx.

How can i debug my application in my windows phone 8?

Am using Visual Studio 2010 and developed a application and debugged it in a windows phone 7.5, after registering with [windows phone developer Registration] app.
Now i got a new windows phone 8, i could not register because i read that, the windows phone 8 will not be supported by zune. Without zune [windows phone developer Registration] will not detect your phone.
Some people says i need to use Visual studio 2012 for windows phone 8, then the problem i have i am using only windows 7 desktop operating system. Visual studio 2012 needs windows 8 desktop operating system.
Please suggest me can i run my app in windows phone 8 with visual studio 2010.
If the only way is to develop in Visual studio 2012 then will my application support for windows phone 7.
Please help me with your suggestions and answers.
That is how it is, you need VS2012 for WP8, which itself needs Windows 8. You can always download an evaluation version of both and use them, eventually inside a virtual machine. Pretty much the same story than for developing Windows 8 applications.
Regarding compatibility between phone versions, Microsoft recompiles WP7 apps so they can run on WP8 but I'm unaware this happening the other way around.
WP8 doesn't need Zune and it's not available anyway on Windows 8.
I myself had to switch to Windows 8 for this very reason...

Windows phone app development in WP8 SDK

I am a Windows Phone 7 app developer. Now I am using Visual Studio 2010 and WP7 SDK and Windows 7 OS. But I am planning to install Windows 8 OS and Windows Phone 8 SDK and Visual Studio 2012 in my system. If I do so, can I develop windows phone 7.0 and windows phone 7.1 apps with WP8 SDK and Visual studio 2012 ?
And also I developed some apps in WP7, So if any bug fix needs, Can I do it using WP8 SDK ?
You can develop 7.1 Apps and 8.0 apps but NOT 7.0 apps with the 8.0 SDK... Although I think devices with system version prior to 7.1 don't have access to the store so you don't need to maintain a 7.0 version of your app....
Of course any wp7.1 project can be opened with the new SDK 8.0 without problems.
Yes, Windows 8 and visual studio 2012 support WP7 development. There's a WP7 emulator and you can also connect and use your own WP7 test device.

Windows phone 7 app on windows phone 8

I have seen there is support for windows phone 7 app on windows phone 8. I have developed some apps on windows phone 7 and I want to run it on windows phone 8 emulator to test my app. Is there any way for doing this?
Yes, just open your Windows Phone 7 Solution in Visual Studio 2012 with Windows Phone 8 SDK installed, select as target Windows Phone 8 emulator and run your app. You can even choose between various screen resolutions.
The minimal system requirements for running Windows Phone 8 emulator are here:
What does it take to run the Windows Phone 8 emulator?
Once you open your WP7 app in VS 2012 with WP SDK 8.0 with target platform for WP8 you can't use this project anymore as WP7 project.
If you want to continue to develop in new environment in VS 2012 you need to use Target platform: WP 7.1
Best regards
You can also use the XAP Deployment tool so that you don't have to open the project in Visual Studio.

Resources