locked
Developing for Windows 8.1 using Visual Studio 2012 on Windows 8.1 RRS feed

  • Question

  • Just like most Windows 8 App developers, I downloaded and installed the Windows 8.1 update today. One of the things I was looking forward to in Windows 8.1 Apps was Bluetooth support. However, when I opened Visual Studio 2012 Professional to work on my apps, I could not find the Windows.Devices.Bluetooth.Rfcomm namespace. I added a reference for Windows.Devices, but I still cannot find the Rfcomm namespace. The app/solution was first created when I still had Windows 8, so I am wondering if the problem could be one of the following:

    1. Do I need to modify the app/solution settings for Windows 8.1? I could not find anywhere in which that needed specified.

    2. Is there an extra assembly I need to add for Windows 8.1 and/or Rfcomm? This is my first app that involves communicating with other devices, so I have never tried to use other communication namespaces before either.

    3. Can Windows 8.1 Apps be developed using Visual Studio 2012 Professional, or do I need to use a version Visual Studio 2013 (such as Visual Studio Express 2013)?

    Any help would be appreciated. Thanks.


    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Friday, October 18, 2013 1:09 AM

Answers

  • Hi Nathan,

    You will need Visual Studio 2013 in order to develop Windows 8.1 Store applications.

    When you open your Windows 8 Store application in VS2013 you'll be asked if you'd like to re-target it to 8.1. If you select yes, you'll then be able to start using the new Windows Runtime APIs in Windows 8.1 but note that the application will no longer be deployable to Windows 8.


    Dan Rigby http://danrigby.com



    Friday, October 18, 2013 1:36 AM