Showing error in release mode

时光怂恿深爱的人放手 提交于 2019-12-12 01:20:12

问题


In my application I had added Listpicker and Datepicker with proper DLL and Namespaces while I build in debug mode it runs well but in Release mode it is showing error in the generated page(Mainpage.g.i.cs). The error message is "The type or namespace name 'ListPicker' does not exist in the namespace 'Microsoft.Phone.Controls' (are you missing an assembly reference?)


回答1:


This happened to me too on one project, and all I did was change from debug to release.

I fixed it by simply removing the mentioned references that are creating a problem and added them again to the project (just simple dll or via NuGet, whichever you're using). That solved it.



来源:https://stackoverflow.com/questions/11414994/showing-error-in-release-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!