NUnit Library Project - Can't add Reference Android Project

I want to start writing tests in a NUnit Project but I can't add my android project.
I'm only able to add my PCL project.

I get the error "Incompatible target framework: MonoAndroid, Version= 4.1".

Is there a way I can add both projects as a reference for my nunits ?


  • PaulReadPaulRead GBMember ✭✭

    I have this exact same issue, yet if I create a new blank project the default UITest works fine as a NET 4.5 program testing a Droid application.

    However, in my main solution I have checked all my project and test project settings but still can not reference my android app from my uitest project - as the error 'Incompatible target framework: MonoAndroid, Version=v5.1) is listed.

    How do I over come this please?

  • RobertZmudzinskiRobertZmudzinski USUniversity ✭✭

    @PaulRead you make that association under the "unit tests" pad... View > Pads > Unit Tests and expand the Unit Tests pad until Test Apps is visible. Right click on Test Apps and then select Add App Project from the menu. Then choose the mobile projects that the UITests will run against. See this link if that is not clear -

Sign In or Register to comment.