Visual Studio Windows Phone 的 2013 设计师无法正常工作

Visual Studio 2013 designer for Windows Phone not working

我在虚拟机 (Oracle VirtualBox) 上安装了 Windows 8.1。我使用这台机器在 windows phone 上开发应用程序(直接在 phone 上,而不是通过模拟器)。 在很长一段时间内一切正常,突然间,设计师突然停止工作了...

问题是这样的:

我可以添加控件,但是我在设计器中看不到它们,只在 phone 设计器的左上角显示一些黑色方块。 (稍后在 phone 上工作正常,但我无法在 Visual Studio 上查看它)。任何地方都没有错误。这真的很烦人,到目前为止我似乎找不到任何答案......

有什么想法吗?

谢谢, 可然.

Varun Mashru 于 2014 年 5 月 23 日 3:54 上午在 Visual Studio 反馈论坛 上发布

Surprisingly and fortunately, I found the solution just two days ago. It is a bit of a bummer but that's what it is.

It has nothing to do with the VS setup or the OS.

The first thing to notice here is that it happens with notebooks only. The REASON??

Because notebooks do not have completely dedicated GPUs. These GPUs act as secondary processors for the onboard graphics solution which is directly connected to the display. Hence they fire up only when needed.

My notebook is a Dell Inspiron 15 3537 -- Core i5 4200U (Intel HD Graphics 4400 onboard) + AMD Radeon HD 8670M. It has a switchable graphics solution. Hence the software chooses as to which GPU does the weight-lifting.

The power settings, when cranked up to the max, indicate that the AMD GPU must be the one that should take the lead.

And in the case of VS it does not happen properly (Don't know why??). Maybe the UI components can't decide which GPU processor to choose or whatever.

So the simple workaround I found was to bring the graphics settings down by just a notch. Which is selecting the 'Optimize Performance' option in the Switchable Graphics instead of the 'Maximize Performance' field in the power plans.

And voila, It works perfectly fine!!!!

Share this with everyone who has freaked out for months on this issue!! :)

尽管 Hassan El-Zarkawy 的回答也很有用,但对我来说真正的问题是 Oracle Virtual Box...

有时我已经为 VM 开启了 3D 加速。 这让 Visual Studio 的设计者陷入了困境。 我将其关闭后,一切正常,即使是在高性能电池设置下也是如此。

我不知道这是否重要,但我也为虚拟机切换了 1 个核心,现在显然更好用了...

无论如何,谢谢你的帮助。