Develop Universal apps for windows 10 from windows 8.1 - visual-studio

I have windows 8.1 and right now Visual Studio 2015 is installing on my machine. Can I develop universal windows apps UWA for windows 10 from my windows 8.1 ?
If worth mentioning, I have another machine with windows 10 at home, and I think I read somewhere before I can use the other machine remotely to test my apps but I have been looking without finding how to do so.

Actually, this is possible. We can develop Universal Windows apps with Visual Studio 2015 on Windows 8.1 and test them on a remote Windows 10 device.
For more info, please see Requirements in Develop apps for the Universal Windows Platform (UWP)
Windows 8.1 and Windows 7 support
If you choose to develop Universal Windows apps with Visual Studio 2015 on a platform other than Windows 10, these are the restrictions:
Windows 8.1: You can’t run the app locally (only on a remote Windows 10 device). You can use the emulators in Visual Studio, but not the simulator.
Windows 7: You can’t run the app locally (only on a remote Windows 10 device). You can’t use the emulators or the simulator in Visual Studio either.
And for test on remote devices, please see Specifying a remote device in Deploying and debugging Universal Windows Platform (UWP) apps.
However, when using OS earlier than Windows 10, some Visual Studio features for Windows Universal development may be degraded, such as you can't use the XAML designer on Windows 8.1:
For a better experience of developing Windows Universal Apps, Windows 10 is strongly recommended.

This is not possible. You need Windows 10 to develop Windows 10 UWP apps.
1. Get Windows 10
To develop UWP apps, you need the latest version of Windows.

Related

App working both on windows 8 and windows 8.1

I am new to windows app development and I need to create one app which will work on both windows 8 and windows 8.1 (the devices are tablets).
What is the Visual Studio version and type of app that I should use to develop my app and run it on both devices?
I am using a windows 8.1 home edition as PC.
You can use Visual Studio 2012 to create an app that is compatible to both these versions of the OS.

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

How to run windows phone app from visual studio?

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.

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...

Creating desktop applications for Windows RT?

I've installed Windows Phone SDK 8.0 and there are no project types for desktop windows RT applications.
How can I develop this type of applications?
Windows RT is not associated with the Phone SDK - it comes from the main desktop development environment.
Microsoft does not allow desktop apps to be built for Windows RT. The RT desktop is limited to make the office applications work, but does not include the full windows functionality.
To develop windows 8 desktop apps, you use Visual Studio as you would have in the past for desktop apps.
To build a windows store app you would go under c# and select Windows Store. Tutorials located at Microsoft. There you will get a selection of templates you can build from to make your app. I expect these templates will also build apps that can run on a Windows RT device. (I haven't tested that though)
Creating desktop applications for Windows RT?
Technically, you cannot develop Desktop Applications for Windows RT. Its not officially supported by Microsoft. You can develop Store Applications for it, though. Store Apps used to be called Metro Apps, but Microsoft was exposed to legal risk with the name (see Microsoft to drop 'Metro' name for Windows 8).
For hacking around the restriction, see Can ARM desktop programs be built using visual studio 2012. However, your app will likely be rejected from Microsoft's Windows Store if you submit it.
...are no project types for desktop windows RT applications.
Windows RT is there - you want a Windows Store app:
The Windows Store App project will define WINAPI_FAMILY=WINAPI_FAMILY_APP. It will have three platforms: X86, X64 and ARM. Windows RT Pro is X64. Windows RT is ARM. I'm not sure what X86 is classified as. For developers and engineers, its all just WINAPI_FAMILY=WINAPI_FAMILY_APP with three platforms. There's no difference between Pro and non-Pro under Visual Studio (some hand waiving).
For some good reading on WINAPI_FAMILY and platform detection, see Chuck Walbourn's three part series Dual-use Coding Techniques for Games.
With some hand waiving, the backend difference between Windows Phone and Windows Store is:
Windows RT uses the compiler located at
%VSINSTALLDIR%\VC\bin\x86_ARM\CL.exe
Windows Phone uses the compiler located at
%VSINSTALLDIR%\VC\WPSDK\WP80\bin\x86_arm\link.exe
Obviously, the paths change when platforms change. But the linker (link.exe) and other tools (like lib.exe) are in the same directory as the compiler.
The environment for Windows RT (ARM) is labeled Visual Studio 2012 ARM Cross Tools Command Prompt. You can find it at Start (what's left of it) → Program Files → Visual Studio 2012 → Visual Studio Tools:
The environment for Windows Phone (ARM) is labeled Visual Studio 2012 ARM Phone Tools Command Prompt:
Similarly, the environment for Windows Phone (X86) is labeled Visual Studio 2012 X86 Phone Tools Command Prompt; and Windows RT Pro (X64) is labeled Visual Studio 2012 X64 Cross Tools Command Prompt.
All the command prompts set the environment so INCLUDE, LIBPATH, PATH etc are ready for command line development. To date, that's all I have used because I have been porting libraries. I have not use Visual Studio for a project yet.
You will also want to look over Can ARM desktop programs be built using visual studio 2012 for the _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 define.
Also see Jason Zander’s What you need to know about developing for Windows on ARM (WOA) on MSDN.
Finally, see Desktop apps ported to Windows RT on XDA Developers forum.
You can sort of hack Visual Studio 2012 and later to allow you to reference RT in windows desktop apps.
1.) Unload your project in Visual Studio
2.) Add a TargetPlatformVersion property to the project:
<PropertyGroup>
<TargetPlatformVersion>8.0</TargetPlatformVersion>
</PropertyGroup>
3.) Reload the project.
4.) Go to "Add Reference..."
5.) There should now be an additional Windows option on the left panel that allows you to add the Windows Core reference.
For more information see Using Windows 8* WinRT API from desktop applications
Windows Phone 8 and Windows 8 are two separate products and require 2 separate SDKs to develop for. Windows Phone 8 runs on mobile devices only, while Windows 8 runs on desktops, laptops and tablets.
All you need to do to build Windows 8 apps is a machine with Windows 8 and Visual Studio 2012 installed on it. You can use the 90 day evaluation for Windows 8 Enterprise with the Express (free) edition of Visual Studio to build such apps. If you are a student you get full version of Visual Studio for free via the Dreamspark program.
To develop Windows Store apps, you need Visual Studio 2012.
The Visual Studio Express that comes with the Windows Phone SDK does not have the templates for developing Windows Store apps.

Resources