用VS2013 做了个WP8.1的APP ,提交商店出错:
-
- The binary Note.dll is built in debug mode.
-
-
需要生成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 文件夹里面(缺少什么文件贴什么、本例中缺少的是这两个)