In order to get started with doing cross-platform mobile development with Visual C++ download Visual Studio 2015 Preview (download here). On running the installer please choose the following installation option (‘Visual C++ for cross-platform mobile development’) as shown in the figure 1. below.
Fig1: Choose Visual C++ for Cross-Platform Mobile Option Fig 2: Choose ‘Restart and Install’ option Fig 3: Choose required additional software
Once this primary installation is complete, cross-platform mobile development users are provided with an additional install of third party software as part of the secondary installer shown in figure 2. (Choose ‘Restart and Install’ option). Once the secondary installer comes up after a system restart, make sure the following entities are all (Android SDK, Android NDK, Apache Ant, Oracle Java SDK and Microsoft Visual Studio Emulator for Android) selected as shown in Figure 3 and follow through the rest of the installation process.
Once a successful installation is complete. As a part of the File->New->Visual C++ ->Cross Platform node you should see a collection of templates being introduced (as shown in figure 4 below).
Fig 4: New templates introduced under Visual C++ -> Cross Platform node
The templates decorated with the (Android) specific keywords such as the ‘Dynamic Shared Library (Android)’ template allows developers to create binaries specifically for the Android Platform where as templates decorated with (Cross Platform) keyword will allow developers to currently create binaries targeting both the Windows and Android platform respectively. The Cross Platform template will also highlight Visual C++’s ability to share and author code across these platforms easily. Please look forward to specific blogs talking about these templates in more detail which we will be posting soon.
This blog should give you an overview about the work we have done in VS2015 preview introducing Visual C++ Cross-Platform mobile development. We will follow up this blog post with additional posts diving deeper into key features. This is a preview release and as with any preview release, the goal for us is to collect feedback and learn from you. We are considering future support for other platforms too and your feedback is critical in shaping the direction of our product.
Sharing feedback is easy! Make feature suggestions on UserVoice, log bugs you find on our Connect site and send us a smile or frown from inside the IDE. You can also leave comments below. In addition to this if you are looking to have a directed conversation with our product team on this topic, please reach out to us through email ( aasthan@microsoft.com ). We would love to know more and connect with you.