WP7 - RootFrame = new TransitionFrame(); - MissingMethodException

时间:2012-03-18 21:52:11

标签: windows-phone-7 exception transition

尝试使用Visual Studio 2010 Express for Windows Phone尝试对应用程序进行debbug时出现以下错误:

MissingMethodException未处理

找不到方法:BackKeyPress osoft.Phone,Version = 7.0.0.0,Culture = neutral ...

我想添加一行RootFrame = new TransitionFrame();在示例http://www.windowsphonegeek.com/articles/Windows-Phone-7-Navigation-Transitions-Step-By-Step-guide

之后的app.xaml.cs上

请有人以前经历过吗?

1 个答案:

答案 0 :(得分:0)

难道你是在某种程度上使用工具包的不匹配版本和你的应用程序目标吗?

确保您的应用和工具包都针对相同的操作系统版本(7.1或7.0)。