c# - App doesn't work in release version -


I am creating an app using the xamarin cross platform. Everything is working in debug, but when I crash the app in the release version, the application output:

  error: [mono] Unchecked exception: [mono] system. Mix system method: Method not found: 'System.Net.Http.HttpClient.GetAsync' System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start [; LoadData & gt; Do d__0 & lt] [mono] (.poSSector.Mobile & quot; LoadData> d__0 & amp; StateMachine) [0x00000] & lt; File name unknown>: 0 [Mono] at POSSector. Out of mobile.LoginViewModel.LoadData () [0x00000] & lt; File name unknown & gt;: 0 [mono ;; Binds & gt; Out of d__3.MoveNext () [0x00000] & lt; File name unknown : 0 [mono] on system. Out of Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] & lt; File name Unknown & gt ;: 0 [Mono] POSSector.Mobile.LoginCommand + at & lt; Executed & gt; Out of d__0.MoveNext () [0x00000] & lt; File name unknown & gt ;: 0 [mono-rt] [error] Fatal exception: system. Mix system method: method not found: 'System.Net.Http.HttpClient.GetAsync'.  

In Options - Android Build - Linker / I Don Link and My App Works I am!


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -