I'm getting the following error when I run my tests on the Xamarin Test Cloud:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x688fce0 + 0x000ff> in :0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (System.Runtime.CompilerServices.TStateMachine& stateMachine) <0x688fcb8 + 0x00017> in :0 at fieldapp.UITests.TestHelper.getListOfFields () <0x688fb20 + 0x0011f> in :0 at fieldapp.UITests.Tests.AreOnlyVisibleFieldsOnNewDocumentScreenDisplayedTest () <0x6887be8 + 0x0036b> in :0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x323a110 + 0x00093> in :0
When I run the tests locally on the emulator, they work fine
But when I run them on the Test Cloud, they fail with the above message.
Does anyone know the solution?
Aucun commentaire:
Enregistrer un commentaire