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

dotnet 9.0 support needed #2325

Closed
hakankutluay opened this issue Feb 24, 2025 · 4 comments · May be fixed by #2326
Closed

dotnet 9.0 support needed #2325

hakankutluay opened this issue Feb 24, 2025 · 4 comments · May be fixed by #2326
Labels

Comments

@hakankutluay
Copy link

dotnet build command raises a warning about the version on dotnet 9.0 projects.

error NU1701: Package 'CsvHelper 2.11.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' 
instead of the project target framework 'net9.0'. This package may not be fully compatible with your project.

Adding net9.0 support will fix that warning.

@Rob-Hague
Copy link
Contributor

Version 2.11 is 10 years old. Any recent version (for at least the last 5 years) is compatible with .NET 9 and does not need an explicit net9.0 target

@hakankutluay
Copy link
Author

hakankutluay commented Feb 25, 2025

you are right @Rob-Hague , somehow the older version has been added to proj, that's why getting the warning.

having that target still has no side affect. so will close the issue, but having PR still make sense. wdyt?

@Rob-Hague
Copy link
Contributor

personally I don't think there is value in adding a new target without using any features from that target, but it is not my decision

@JoshClose
Copy link
Owner

9 will be added and 6 and 7 will be removed.

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

Successfully merging a pull request may close this issue.

3 participants