我的项目和网络服务上传到一个iPhone时工作在模拟器,但坠毁的罚款。 它一直工作正常,我从1.1更新的MonoTouch之前。 我能恢复到以前版本的MonoTouch的? 这里的问题是:
我在使用Web服务的MonoTouch应用程序。 当我将项目导出到Xcode中,我得到一个生成错误,指出:
System.Web.Services.dll.mdb:没有这样的文件或目录
在文件夹资源管理器该文件以红色突出显示,因为没有什么存在。
有没有人有一个工作System.Web.Services.dll为MonoDevelop的和MonoTouch的最新版本?
这是在Xcode中退出错误的堆栈跟踪:
Wed Nov 18 10:31:37 unknown SpringBoard[24] : MultitouchHID(208ad0) uilock state: 1 -> 0 Wed Nov 18 10:31:37 unknown SpringBoard[24] : MultitouchHID(2944f0) device bootloaded Wed Nov 18 10:31:47 unknown kernel[0] : launchd[85] Builtin profile: container (seatbelt) Wed Nov 18 10:31:47 unknown kernel[0] : launchd[85] Container: /private/var/mobile/Applications/49398D0F-C9F2-456A-BB84-BA1F91C78243 (seatbelt) Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Xml.Serialization.XmlAttributeAttribute.AddKeyHash (System.Text.StringBuilder sb) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Xml.Serialization.XmlReflectionImporter..ctor () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Web.Services.Protocols.SoapTypeStubInfo..ctor (System.Web.Services.Protocols.LogicalTypeInfo logicalTypeInfo) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : --- End of inner exception stack trace --- Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Web.Services.Protocols.LogicalTypeInfo.CreateTypeStubInfo (System.Type type) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String protocolName) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type t, System.String protocolName) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at GeoQuiz2.GeoQuizRef.TGeoTeachers..ctor () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at GeoQuiz2.QuizPicker.ViewDidLoad () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at MonoTouch.UIKit.UIViewController.get_View () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at GeoQuiz2.AppDelegate.m__0 (System.Object , System.EventArgs ) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at MonoTouch.UIKit.UIControlEventProxy.Activated () [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : at GeoQuiz2.Application.Main (System.String[] args) [0x00000] in :0 Wed Nov 18 10:32:04 unknown UIKitApplication:GeoQuiz2[0x46ff][85] : Error connecting stdout and stderr (192.168.1.19:10001) Wed Nov 18 10:32:04 unknown com.apple.launchd[1] : (UIKitApplication:GeoQuiz2[0x46ff]) Exited with exit code: 1 Wed Nov 18 10:32:04 unknown SpringBoard[24] : Application 'GeoQuiz' exited abnormally with exit status 1
使用您的Web.Services.dll我想我已经找到错误较短的堆栈跟踪。