Windows phone 8 在WP7.1和WP8.0之间未调用OnApplyTemplate()

Windows phone 8 在WP7.1和WP8.0之间未调用OnApplyTemplate(),windows-phone-8,windows-phone-7.1,windows-phone,Windows Phone 8,Windows Phone 7.1,Windows Phone,有一个自定义控件,在我刚刚升级到WindowsPhone8.0的WindowsPhone7.0和7.1中运行良好。但是,不再调用OnApplyTemplate()重写。有没有人经历过类似的事情 非常感谢您的建议。一天半之后 。。。在AssemblyInfo.cs中,我更改了: [汇编:NeutralResourcesLanguage(“en”,UltimateResourceAllBackLocation.Satellite)] 到 [汇编:NeutralResourcesLanguageAtt

有一个自定义控件,在我刚刚升级到WindowsPhone8.0的WindowsPhone7.0和7.1中运行良好。但是,不再调用OnApplyTemplate()重写。有没有人经历过类似的事情


非常感谢您的建议。

一天半之后

。。。在AssemblyInfo.cs中,我更改了:

[汇编:NeutralResourcesLanguage(“en”,UltimateResourceAllBackLocation.Satellite)]

[汇编:NeutralResourcesLanguageAttribute(“en”)]


现在它可以工作了。我不知道为什么。

一天半之后

。。。在AssemblyInfo.cs中,我更改了:

[汇编:NeutralResourcesLanguage(“en”,UltimateResourceAllBackLocation.Satellite)]

[汇编:NeutralResourcesLanguageAttribute(“en”)]

现在它可以工作了。我不知道为什么