Screen resolution VS2008 to WM6 Emulator vs Device, why is it different?
-
03-07-2019 - |
Question
When I debug a VS2008 WM project in the emulator, it all works as expected, but when I select a device as the target for testing, the entire application gets hosed, appearing in the upper left of the display, distorted. How can I make the display appear the same as in the emulator?
Solution
Problem was that the device uses different screen resolution and that the controls are not scaling properly.
The solution for this was to set the main form's AutoScaleMode to Dpi (default was Inherit).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow