Configuring Visual Studio 2015 to Develop Hybrid Mobile Apps

26 aug. 2022
Intermediate
15K Views
3 min read  

Visual Studio 2015 is a great tool to build cross-platform apps for iOS, Android, and Windows devices. Microsoft provides Visual Studio Tools for Apache Cordova to develop cross-platform (hybrid mobile) mobile apps using web technologies such as HTML, CSS, and JavaScript.

Using Visual Studio 2015, you can build cross-platform apps for the following devices and platforms:

  1. Android 3.0, 4.0 and 5.0

  2. iOS 6, 7, and 8

  3. Windows 8, 8.1 and 10

  4. Windows Phone 8, 8.1 and 10

Installing Visual Studio Tools for Apache Cordova

To install tools for Apache cordova just run visual studio 2015 setup and select the features as shown in below diagram.

When you will select above features, you will get the the following confirmation screen to install the features. To install these features you have to connect to internet since it will download these Sdks from internet.

Verifying Visual Studio Configuration

To verifiy visual studio configuration, just open it and select option to create a new project. When new project creation wizard will be open, under the template of JavaScript you will find the template for creating apache cordova blank app.

Now create a project for apache cordova and verify the following things.

  1. Verify Cordova Tools installation

    To verify it just navigating to Tools => Options => Tools For Apache Cordova in Visual Studio. Now click on button Run Dependency Checker and you will get the following alert box to say that there is no misconfigured componets.

  2. Verify Emulator installation

    Now verify emulator installation for android, windows and ios. Screen shot for the emulator is shown below.

Note

  1. To install tools for apache cordova make a internet connection

  2. To create and build a project for apache cordova, run visual studio in administrator mode. For more help refer MSDN link

Building & Running Hybrid Mobile App

Now run you application with windows, android and iOS emulator one by one and you will see the following output.

What do you think?

In this article, you have learn how to configure your system for cross platform mobile apps development with visual studio. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.

Share Article
About Author
Shailendra Chauhan (Microsoft MVP, Founder & CEO at Scholarhat by DotNetTricks)

Shailendra Chauhan is the Founder and CEO at ScholarHat by DotNetTricks which is a brand when it comes to e-Learning. He provides training and consultation over an array of technologies like Cloud, .NET, Angular, React, Node, Microservices, Containers and Mobile Apps development. He has been awarded Microsoft MVP 8th time in a row (2016-2023). He has changed many lives with his writings and unique training programs. He has a number of most sought-after books to his name which has helped job aspirants in cracking tough interviews with ease.
Learn to Crack Your Technical Interview

Accept cookies & close this