6

我正在使用 Visual Studio 开发 Windows Phone 8 应用程序,而在应用程序运行时无法更改代码让我抓狂。我每次都爱上它。在停止调试之前尝试更改代码。

Tools > Options > Edit and Continue => I unchecked Enable Edit and Continue.

通过上述步骤,我可以在应用程序运行时更改代码,但现在我无法更改设计。如何在应用程序运行时启用设计编辑?

4

1 回答 1

0

有一种非常简单的方法可以在不运行应用程序的情况下编辑设计。如果您在 Blend 中打开您的解决方案,您可以根据绑定到的类将示例数据应用到您的绑定视图。然后,当您在 XAML 中进行更改时,它们将在设计视图中使用示例数据进行更新。

http://blogs.msdn.com/b/pakistan/archive/2013/08/29/using-sampledata-in-windows-phone-8-using-blend.aspx

于 2014-09-12T05:54:07.390 回答