如何在发布模式下构建WP7应用程序?

时间:2011-12-27 10:47:54

标签: windows-phone-7 silverlight-4.0

我已经在Windows phone7中开发了一个应用程序,它在我在调试模式下构建应用程序时正在工作。但是,当我尝试在发布模式下构建应用程序时,然后找不到控件,例如我正在使用

      internal Microsoft.Phone.Controls.DatePicker DateToDialIn;

      internal Microsoft.Phone.Controls.TimePicker TimeToDialIn;

      internal Microsoft.Phone.Controls.ListPicker lstPickerLocation;

找不到这些控件请帮我解释为什么在发布模式下找不到这些控件

2 个答案:

答案 0 :(得分:1)

确保在您的文件夹中包含您的引用,并将“copy local”设置为true。

答案 1 :(得分:1)

右键点击参考 - >选择属性 - >将Copy Local设置为True