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

Unable to upgrade from version 7.9.0 to version 8.0.7 #194

Closed
pmarangoni opened this issue Jul 9, 2020 · 3 comments
Closed

Unable to upgrade from version 7.9.0 to version 8.0.7 #194

pmarangoni opened this issue Jul 9, 2020 · 3 comments
Milestone

Comments

@pmarangoni
Copy link

Could not install package 'X.PagedList.Mvc 8.0.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', 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.

@ronaldbarendse
Copy link
Contributor

This is already reported in #190. Like the error message describes, version 8.0.7 isn't compatible with .NET Framework 4.7.2, although there's no reason why it can't be... The linked issue already has an open PR to fix this: #191.

@ronaldbarendse
Copy link
Contributor

@pmarangoni PR #191 is now merged, so this issue will be fixed in the next version that gets released.

As temporary 'fix', you can also restrict NuGet versions in your packages.config file by adding allowedVersions="(,8)" (but don't forget to remove this when a new compatible version gets released):

<package id="X.PagedList" version="7.9.0" targetFramework="net472" allowedVersions="(,8)" />
<package id="X.PagedList.Mvc" version="7.9.1" targetFramework="net472" allowedVersions="(,8)" />
<package id="X.PagedList.Web.Common" version="7.9.1" targetFramework="net472" allowedVersions="(,8)" />

@a-gubskiy
Copy link
Member

New version was published: https://github.com/dncuug/X.PagedList/releases/tag/v8.1

.NET Framework support was dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants