Universal Apps template missing in Visual Studio 2015 Community

10,632

Solution 1

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.

Solution 2

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.

select modify and choose UWP Dev tools for cross platform dev tools with xamarin, android emulator too, etc

Solution 3

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");
Share:
10,632
Igor Kondrasovas
Author by

Igor Kondrasovas

During my career, I had the opportunity to develop software products that interact with the physical world. This includes motion control applications for CNC machines, supervisory systems for controlled atmosphere, embedded software for livestock traceability, machine vision systems for quality inspection etc. My passion is to make all these existing devices talk to each other using the power of cloud computing to create smart and efficient systems. Current Specialities: .NET C#, WPF, XAML, MVVM, REST API, SQL, Azure SaaS/IaaS/PaaS, Message Bus, Visual Studio Online, Git, NuGet, SCRUM. Interests: Continuous Integration, Release management, Test-Driven Development, Domain-Driven Design, SOLID principles, .Net Core, Industry 4.0, IoT, Xamarin. Previous Experience: C/C++, MFC, Silverlight, Windows Forms, Windows Mobile, MySQL, PLCs, 8051, Atmel AVR, CNC controllers, Circuit Board Design. In my spare time, you can find me riding a bike or contributing to the maker movement.

Updated on June 10, 2022

Comments

  • Igor Kondrasovas
    Igor Kondrasovas about 2 years

    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.