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

Moq 4.16.1 is not compatible with netcoreapp3.1 #1212

Closed
seilorjunior opened this issue Oct 18, 2021 · 2 comments
Closed

Moq 4.16.1 is not compatible with netcoreapp3.1 #1212

seilorjunior opened this issue Oct 18, 2021 · 2 comments

Comments

@seilorjunior
Copy link

Hello,

There is any plan to support dotnetcore?

The same build on my machine works.
But on my build server, i am getting this
Package Moq 4.16.1 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). Package Moq 4.16.1 supports:
- net45 (.NETFramework,Version=v4.5)
- netstandard2.0 (.NETStandard,Version=v2.0)
- netstandard2.1 (.NETStandard,Version=v2.1)

@stakx
Copy link
Contributor

stakx commented Oct 18, 2021

.NET Core 3.1 does implement .NET Standard 2, and so Moq does support .NET Core via that. Must be a problem with your build server setup or project.

@stakx stakx closed this as completed Oct 19, 2021
@seilorjunior
Copy link
Author

@stakx this issue only happens with nuget restore. I have resolved using dotnet restore. FYI

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

2 participants