xamarin Cross Platform을 사용하여 앱을 만들고 있습니다. 모든 것은 디버그에서 작동하지만 릴리스 버전에서 bulid 앱을 실행하면 앱이 다운됩니다. 응용 프로그램 출력 :앱이 출시 버전에서 작동하지 않습니다.
ERROR:
[mono] Unhandled Exception: [mono] System.MissingMethodException:
Method not found: 'System.Net.Http.HttpClient.GetAsync'.
[mono] at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[<LoadData>d__0] (POSSector.Mobile.<LoadData>d__0& stateMachine)
[0x00000] in <filename unknown>:0
[mono] at POSSector.Mobile.LoginViewModel.LoadData()
[0x00000] in <filename unknown>:0
[mono] at POSSector.Mobile.LoginCommand+<Bind>d__3.MoveNext() [0x00000] in <filename unknown>:0
[mono] --- End of stack trace from previous location where exception was thrown --- [mono] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[0x00000] in <filename unknown>:0 [mono] at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[0x00000] in <filename unknown>:0 [mono] at POSSector.Mobile.LoginCommand+<Execute>d__0.MoveNext()
[0x00000] in <filename unknown>:0
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Net.Http.HttpClient.GetAsync'.
동일한 버전의 .net/xamarin이 설치되지 않은 다른 컴퓨터에서 실행하고 있습니까? – DLeh
어셈블리를 확인하십시오. 특히 System.Net.Http.dll. 어셈블리 버전은 무엇입니까? –
옵션 - Anroid Build-Linker/Don 링크와 내 앱 작업을 설정했습니다! – Ibrahim