30 out of 43 rated this helpful - Rate this topic

Add Bing Maps to a Windows Store app

Bing Services
Hh855146.Important(en-us,MSDN.10).gifImportant:
You must perform the following steps for your C#/Visual Basic/C++ app project to work correctly with Bing Maps. Detailed instructions are provided below.

  • Add a reference to Bing Maps SDK for C#, C++, or Visual Basic.

  • Set the Active solution platform in Visual Studio to one of the following options.

    • C#, Visual Basic: ARM, x86 or x64

    • C++: ARM, Win32 or x64

  • If you are using C# or Visual basic, you must add a reference to Microsoft Visual C++ Runtime Package.

JavaScript apps

If you want to create a Windows Store project that uses JavaScript, see Developing a Windows Store app using JavaScript in the Bing Maps AJAX Control 7.0 documentation.

Requirements for C#, Visual Basic and C++ apps

Adding Bing Maps to your app

Adding Bing Maps to a C# or Visual Basic app

  1. In Visual Studio, select PROJECT > Add Reference.

  2. Expand Windows, and then select Extensions.

  3. Select Bing Maps for C#, C++, or Visual Basic and Microsoft Visual C++ Runtime Package, and then click OK.

  4. Select BUILD > Configuration Manager.

  5. Set Active solution configuration to Debug.

  6. Set Active solution platform to ARM, x64 or x86.

  7. Click Close.

Adding Bing Maps to a C++ app

  1. In Visual Studio, select PROJECT >yourProjectName Properties.

  2. Click Add New Reference.

  3. Expand Windows, and then select Extensions.

  4. Select Bing Maps for C#, C++, or Visual Basic, and then click OK.

    Click OK again.

  5. Select BUILD > Configuration Manager.

  6. Set Active solution configuration to Debug.

  7. Set Active solution platform to ARM, Win32 or x64.

  8. Click Close.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.