emgarten/NupkgWrench

NupkgWrench 4.0.1 is not compatible with net5.0

Closed this issue · 3 comments

Hi,

it looks like v4.0.1 does not work with .NET 5. In the CI/CD pipeline I get following error:

error NU1202: Package NupkgWrench 4.0.1 is not compatible with net5.0 (.NETCoreApp,Version=v5.0) / any. Package NupkgWrench 4.0.1 supports: net6.0 (.NETCoreApp,Version=v6.0) / any

If it's meant to be like that, I could return to v3.0.0.

@patanric this is intentional, support for .NET 5 ends in May 2022
https://dotnet.microsoft.com/platform/support/policy/dotnet-core

Going forward I'll make sure future versions of the package always have at least one LTS version of .NET.

Was your CI installing the latest version of the package and broken when the new one was published?

Yes, I didn't specify the version in the installing step. So, it just took the last version. But now I fixed with specifying v3.
Thanks for confirmation!

That sounds like the right fix. For any CI/CD I suggest using the exact version, these .NET framework changes will keep happening over the years due to how they release them and drop support for older ones.

Alternatively the package could keep every framework in it even once they have no longer supported, but this will cause the package to grow and installs will take longer.

If anyone else has feedback or suggestions on it feel free to comment here. I am going to close this issue for now.