Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget Package Moq 4.5.28 could not be installed on MonoAndroid=v7.0 #308

Closed
mcelik84 opened this issue Dec 9, 2016 · 3 comments
Closed

Comments

@mcelik84
Copy link

mcelik84 commented Dec 9, 2016

Hi kzu, i'm having problems installing Moq on Xamarin (Mac, v6.1.2 Build 44).
Can yo help me out?

Could not install package 'Moq 4.5.28'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

@stakx
Copy link
Contributor

stakx commented Jun 4, 2017

The version of Moq you were trying to use only had support for the full .NET Framework, I believe.

Have you tried Moq version 4.7 or later (which also targets .NET Standard)? I can't test this myself at the moment, but I'd expect that Xamarin has .NET Standard support.

Does this resolve your issue?

@skarllot
Copy link

Confirmed, it works on Android.

@stakx
Copy link
Contributor

stakx commented Jun 13, 2017

Glad to hear you got this working. ;)

@stakx stakx closed this as completed Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants