模拟器调试出现异常NotSupportedException: System.Drawing.Bitmap解决

表现:

Me .pbStop.Image = CType (resources.GetObject("pbStop.Image" ), System.Drawing.Image)

语句出现异常:NotSupportedException: System.Drawing.Bitmap

解决:

1)       DELETE the whole directory of your program files (DLL, EXE, INI and so on) from your mobile device and redeploy again. OR(删除发布文件夹下所有文件,并重新发布)

2)       Hard reset your mobile device(硬启动)

posted @ 2011-05-25 17:13  qb371  阅读(364)  评论(0编辑  收藏  举报