I still cannot create a new Universal App in Visual Studio 2015 Community I have installed.
I thought the reason was I was running Windows 8.1. Today I upgraded to Windows 10, but there is no "Universal Apps" templates available.
I have installed Windows 10 SDK but nothing changed.
How can I fix that?
Thank you.
You need to install the Windows 10 Developer Tools (select modify and select the Win10 tools + Emulator if wanted). After this you see the template in New Project.
As of March 2016, the VS development tools including the ones for cross platform development with Xamarin
, tools are embedded in the Visual studio 2015 update 2
, both community and enterprise versions.
All you need to do is go to the ISO file and try to re-install from the ISO file then select modify from the options then select universal windows development tools. Refer to the screenshots for better understanding.
As pointed out by @magicandre1981, the Universal App template appears only if Windows 10 developer tools are selected while running the installer and choosing the custom setup. Also, there is no such thing as a separate template for mobile or desktop as this is what is the true meaning of universal.
You can simply choose the Universal App template and write code to target any/all of the device families as explained in Guide to Universal Windows Platform.
Further, add reference to extension SDK specific to device-family ( Windows Mobile Extensions for mobile api).
To use device specific api, you must first check its availability.
Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With