xamarin.uitest.net-8.0xamarin-test-cloudappcenter

Error when uploading Xamarin UI Test in .NET 8


I've got a Xamarin UI test project that I've just updated to .NET 8 (from 4.6.1). I've updated the nuget packages to the latest version also. The tests build and run locally with no issue.

Packages:

I'm trying to upload with the app center cli using the command "appcenter test run uitest". I've got the "uitest-tools-dir" parameter set to the build folder of the project as this spits out "test-cloud.exe" from the Xamarin.UITest package.

When running the command in powershell, I get the following error :

System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
   at Xamarin.UITest.CLI.Program.Main(String[] args)

None of these have worked (still no netstandard dll in my build output). I'm wondering if I'm missing something simple here? Any ideas?


Solution

  • As far as I know, they have not yet configured Xamarin.UITest to .Net 8 and that work is being worked on now in order to make Xamarin.UITest compatible with .Net 8. However, it is compatible with .Net 6 and you should be able to change your project to .Net 6 till Xamarin.UITest does the updates needed for .Net 8