Visual Studio 2012 Mobile Device Emulators

Russ Clark picture Russ Clark · Jun 18, 2012 · Viewed 23.2k times · Source

I just returned today from TechEd 2012 where I saw several breakout sessions where Mobile Device emulators were shown in the demo. A good example is the Dev304 session by Daminan Edwards entitled "ASP.NET for Mobile and Tablet Development" where he created an Asp.Net MVC 4 application, then made an _Layout.Mobile file, and an Index.Mobile file, downloaded JQuery Mobile with NuGet, added some styling to a list in his view, and ran a mobile version of his MVC app in an Opera Emulator, by starting the Opera Emulator from a toolbar within Visual Studio 2012.

I downloaded the RC version Visual Studio 2012 this morning, followed the steps in Damian's talk, but can't figure out how to run any of the mobile emulators. Can anyone help me with this?

Answer

Sascha picture Sascha · Jun 19, 2012

You can download the Opera emulator here: http://www.opera.com/developer/tools/mobile/

It is not included in Visual Studio. The Windows Phone tooling will be available later when Windows Phone tools are updated.

With VS 2012 you have the choice which browser to use when starting to debug. Next to the green arrow is a dropdown button, the last entry is Browse with.... You can add Opera's emulator there and you can start debugging with that browser (and every other added before).