Closed Nickolas- closed 7 years ago
@Nickolas- Can you upload a project which reproduces this?
I'm guessing something odd is going on with your references, you could try using the NUnit VS templates extension instead to create your droid runner project? That should make sure all the references are straight.
Your PCL test project, is that also referencing NUnit v3.0.1?
Thank a lot @ChrisMaddock , you was damn right! Xamarin Droid project cant update from 3.0.1 to the latest 3.5.0 version , but PCL was on 3.5.0.
Unable to resolve dependencies. 'NUnit 3.5.0' is not compatible with 'nunit.xamarin 3.0.1 constraint: NUnit (= 3.0.1)'.
Maybe someone will step on the same mistakes.
@Nickolas, as you have found, the Xamarin project is currently like NUnitLite in that it references a specific version of NUnit. We plan to change that in the near future, but are waiting on some of our .NET Core/Standard changes.
@rprouse it was very good if you would write somewhere this information in documentation. Because it confused me at the morning.
Yes, we should document this!
@rprouse - How do you feel about keeping version numbers in sync with the framework version, until we break the dependency? Fingers cross that will only be another couple of versions. Otherwise, I can imagine we'll need a table of nunit.xamarin -> framework versions, or else just direct people to look at the nuget package dependencies?
@ChrisMaddock I agree about the version number. I've updated the milestone accordingly. I would like to get a release out soon that supports NUnit 3.5. I am going to do a pass through the open issues to see what needs to be included. Can you do the same?
@rprouse - to my mind, the milestone as it was at lunchtime today is pretty up-to-date. :-) (Afraid I'm travelling, and can't see the milestone through my app!) The logo's a nicety, but the multiple assemblies thing I think would be good to fix before the next release. I've been planning to do it for a while, but that's looking unlikely before Christmas now - please go for it if you'll have time before!
Is 3.6 still planned for end-of-the-year/Jan? I was considering getting both this and vs-templates ready for then, so we could just update to 3.6 and then do a release. In the long-term, I think it would be good if we can keep both projects in sync with the latest framework. I've been working on a cake thing to semi-automate that.
I guess early January, right after the 3.6 release might be a good time. Waiting a few weeks over the holidays seems reasonable. I had wanted to get this off the radar, but waiting makes more sense. I will switch the milestone to 3.6.
I added a note to both getting started guides in the docs. Hopefully that will be enough - thanks for flagging the issue @Nickolas-. 😄
https://github.com/nunit/docs/wiki/Getting-Started-in-Visual-Studio https://github.com/nunit/docs/wiki/Getting-Started-in-Visual-Studio-for-Mac
Hi , create a xamarin android demo project with Droid Runner and xamarin pcl project with NUnit tests Add NUnit package 3.0.1 to platform droid project android NUnit.Xamarin like in documentation. After completed deployment application on genymotion it give me execution failed with excpetion.
Xamarin Studio version Version 6.1.2 (build 44)
Xamarin.Android Version: 7.0.2.37 (Xamarin Business)
PCL Test project profile 111.