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

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

dotnet 9.0 support needed #2325

hakankutluay opened this issue Feb 24, 2025 · 2 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.

@hakankutluay hakankutluay linked a pull request Feb 24, 2025 that will close this issue
@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?

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.

2 participants