Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug WinRT app on second monitor with Visual Studio 2012

When I run or debug a winrt application, Visual Studio 2012 seems to start it always on the same monitor.

How can I force Visual Studio 2012 to start the app on my other monitor?

like image 566
thumbmunkeys Avatar asked Sep 27 '12 12:09

thumbmunkeys


3 Answers

Windows will deploy to which ever monitor you last viewed the Start screen on. So, here is what I do.

  • Start VS in Main Monitor
  • Bring up charms bar on Secondary monitor and select the Start charm
  • Launch debug from VS in Main Monitor

Your app should now launch in the secondary monitor.

I don't know if there is a way to set an option to do this - I haven't found one but haven't looked very hard since this works easy enough for me.

like image 96
Jeff Brand Avatar answered Nov 15 '22 07:11

Jeff Brand


On Win8.1, it seems like the app always opens on the primary display. I swapped my primary and secondary displays (right click on desktop -> screen resolution -> "Make this my main display").

I also customized my taskbar so that it appears on all monitors (right click on task bar -> properties -> "Show taskbar on all displays").

like image 2
rggammon Avatar answered Nov 15 '22 08:11

rggammon


I think, it is impossible. The only solution you have is to move it to that monitor and then open Start Screen only on it while debugging. In this case Win Store apps will open there

like image 1
Andrii Avatar answered Nov 15 '22 08:11

Andrii