release 模式下调试出错

用VS2013 做了个WP8.1的APP ,提交商店出错:

Debug configuration
  • Error Found: The debug configuration test detected the following errors:
    • The binary Note.dll is built in debug mode.
  • Impact if not fixed: Windows Phone Store doesn’t allow a debug version of an app.
  • How to fix: Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration.

需要生成release 模式下的包、

但是更改为release 模式后出错:

警告 1 未能解析此引用。未能找到程序集“microsoft.phone.controls.toolkit, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b772ad94eb9ca604, processorArchitecture=MSIL”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。

错误 3 The property 'IsTiltEnabled' does not exist on the type 'PhoneApplicationPage' in the XML namespace 'clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit'. F:\Users\Zeashon\Documents\Visual Studio 2013\Projects\Remember1\Remember\Remember\Remember\AddPage.xaml 16 5

错误 2 The property 'IsTiltEnabled' does not exist on the type 'PhoneApplicationPage' in the XML namespace 'clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit'. F:\Users\Zeashon\Documents\Visual Studio 2013\Projects\Remember1\Remember\Remember\Remember\MainPage.xaml 17 5

balabala

解决方法就是添加里面缺少的引用 dll 文件。

做法:把原本 debug 文件夹中的 microsoft.phone.controls.toolkit.dll 和 Microsoft.Phone.Controls.dll 文件粘贴到release 文件夹里面(缺少什么文件贴什么、本例中缺少的是这两个)


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值