Using 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 latest gold release of the BlackBerry Native Plug-in for Microsoft Visual Studio.

Microsoft Visual Studio 2010 is no longer officially supported, but you can still use the plug-in with this version. You can read the documentation for Microsoft Visual Studio 2010 on the Downloads page.

Key features of the plug-in

The BlackBerry Native Plug-in for Microsoft Visual Studio adds the following features to your Microsoft Visual Studio installation.

Microsoft Visual Studio 2012 and 2013

You can develop your app using either Microsoft Visual Studio 2012 or Microsoft Visual Studio 2013.

BlackBerry ID token

You can use your BlackBerry ID to create a 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.

Application properties

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

Importing apps

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: 2014-02-25

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

comments powered by Disqus