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

this version not compatible netstandard2.1 #49

Open
bdshanto opened this issue Apr 26, 2021 · 2 comments
Open

this version not compatible netstandard2.1 #49

bdshanto opened this issue Apr 26, 2021 · 2 comments

Comments

@bdshanto
Copy link

Describe the bug
Recently I am going to update my project from .net 3.x to 5.x. it is worked well, but the fact is it is not compatible .netstandard2.1

@sonnemaf
Copy link
Owner

It is a .NET 5 class library. Why should it be .NET Standard 2.1? I'm not sure what your issue is.. Can you explain it to me?

@bdshanto
Copy link
Author

bdshanto commented Jul 3, 2021

Severity Code Description Project File Line Suppression State
Error NU1202 Package ReflectionIT.Mvc.Paging 5.1.1 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package ReflectionIT.Mvc.Paging 5.1.1 supports: net5.0 (.NETCoreApp,Version=v5.0).

I'm was solve this way:
<TargetFramework>netstandard2.1</TargetFramework> ➡️ <TargetFramework>net5.0</TargetFramework>
now it's working fine.

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