Closed 304NotModified closed 7 years ago
What version of VS and what version of NuGet do you have installed there? xunit.runner.utility
contains a PCL 259 and is compatible with Xamarin.Android.
VS2013, NuGet 2.8.6
Hmm...what version of Xamarin do you have installed? Do you have VS 2013 Update 5 installed?
I have the Update 5 for VS 2013 and the latest stable Xamarin installed. The Extensions and Updates shows NuGet as 2.8.60723.765.
I went to file -> new blank Android application, then in the NuGet UI, added xunit.runner.devices. It all installed ok.
Thanks for testing. It's also VS2013 Update 5 here.
I will try from the GUI
Same steps (new blank app) and also NuGet 2.8.60723.765
I will try now with update of Xamarin.
Did the Xamarin update resolve this?
Sorry, has a small holiday.
No it did not. I tried reinstalling xunit, and also failed with the same error:
install-package : Could not install package 'xunit.extensibility.core 2.1.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.0', but the package does not contain any assembly references or content files that are com
patible with that framework. For more information, contact the package author.
At line:1 char:1
It seems to be working in VS2015, but I really like to have it working in VS2013
It's probably a NuGet bug....just curious why VS 2013 though if 2015 work?
curious why VS 2013 though if 2015 work?
Because VS 2013 uses NuGet 2.x, and 2015 uses NuGet 3.x.
No, I get that. I'm curious as to why the need to continue using VS 2013 here. There definitely seems to be a bug with NuGet's compatible frameworks list that has since been fixed.
Well I don't like to force the community to use vs2015 and also I have seen enough issues in vs2015 already (crashes VS, crashes compiler, performance issues) .
I have used every version of visual studio since VS 2003, and my experience is that every new version has (big) issues at the start. So I'm a bit defense with upgrading.
Xamarin has big issue about update package in visual studio. If I update package in nuget manager It always have problem about remove and update System.Runtime or System.Runtime.InteropServices 4.0.0.
Installation of the Nuget packages gives an error and rolls back. What am I doing wrong?
I tried also the '2.0.0-build0007' version, same error.
Full log: