Microsoft Visual Studio

You can develop C and C++ apps for BlackBerry 10 in your Microsoft Visual Studio development environment using the BlackBerry Native Plug-in for Microsoft Visual Studio.

This documentation reflects the 3.0 Gold release of the BlackBerry Native Plug-in for Microsoft Visual Studio. Special thanks to open-source contributor Pawel Hofman for his valuable contributions to this release.

Microsoft Visual Studio 2010 and 2012 are no longer officially supported.

Key features of the plug-in

The BlackBerry Native Plug-in for Microsoft Visual Studio (version 3.0 Gold) adds the following features to your Microsoft Visual Studio installation.

Microsoft Visual Studio 2013

You can develop your app using Microsoft Visual Studio 2013.

BlackBerry ID token

You can use your BlackBerry ID to create a BlackBerry ID token to sign and publish your completed app. If you don't already have a BlackBerry ID, you can create one. You can register, unregister, back up, and restore your signing keys.

BlackBerry solution configuration

You can create a solution configuration that is specific to the BlackBerry 10 OS. With this solution configuration, you can adjust the settings for your project to associate it with the correct libraries and resources that you need to compile against the BlackBerry 10 Native SDK. When you use this configuration, Microsoft Visual Studio uses the Native SDK compiler to build your app.

BlackBerry build and deployment scenarios

You can use the Build Solution menu and the Run button for both debug and release work on BlackBerry 10 projects.

App properties

You can edit app properties in the bar-descriptor.xml file, which is added when a new BlackBerry solution target is created. Each BlackBerry 10 app requires a bar-descriptor.xml file.

Creating and importing projects

The BlackBerry Native Plug-in for Microsoft Visual Studio now offers several project templates. These templates give you a quick start for developing several types of BlackBerry apps, such as Cascades, Native Core, and OpenGL ES versions 1.1 and 2.0. You can import existing BlackBerry 10 Native SDK projects and Win32 apps that you have developed using the Momentics IDE for BlackBerry.


You can use the integrated debugging features of Microsoft Visual Studio to perform basic debugging tasks. You can step through code using step into/over/out, debug threads and processes, evaluate expressions, view call stacks, break at functions, hit breakpoints, count breakpoint hits, and attach to a process.

Last modified: 2015-03-31

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus