I have solution with UI Tests for my mobile applications in Xamarin.
This is setup:
- MyApp.iOS - application for iOS
- MyApp.Android - application for Android
- MyApp.UITests.iOS - where is only reference to iOS project and shared library
- MyApp.UITests.Android - where is only reference to Android project and shared library
- MyApp.UITests.SharedLibrary - with all test cases
When I am building this in MSBuild I have many errors with:
/Users/vstsagent/MyApp.UITests.SharedLibrary/...: error CS0246: The type or namespace name `Xamarin' could not be found.
It looks like problem is compilation of my SharedLibrary project.