Forum Xamarin Test Cloud (Read Only)

Unable to find/load Xamarin.iOS assembly reference when starting tests in the Cloud.

BenGordonBenGordon USMember

The CI server fails my tests overtime with the following error:

Could not load file or assembly 'Xamarin.iOS, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot find the file specified.

On the command line I can see that Xamarin.iOS.dll is being uploaded when pushing a new test suite to the cloud. What could be causing this problem?

EDIT: The tests all run fine locally - they just don't get past the validation step on the TestCloud CI server.


  • SimonSndergaardSimonSndergaard DKXamarin Team Xamurai

    The test run fail due to Xamarin.IOS beeing uploaded :-) The test-runner tries to load the Xamarin.IOS assembly to scan it for potential testcases, but fails because it cannot loaf "one of its dependencies".

    You should only upload the assemblies containing the test (and whatever the test depends on, e.g. UITest itself). Normally the uploaded assemblies would be: [your test assembly], Xamarin.UITest.dll, nunit.framework.dll


Sign In or Register to comment.