Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What version is compatible with targetting .NET Framework 4.0? #1211

Answered by bgrainger
zukarusan asked this question in Q&A
Discussion options

I plan to use MySQLConnector in my organization project which is currently targetting to .NET Framework 4.0.

When retrieving this on NuGet package manager I got

Executing nuget actions took 150.62 ms
Could not install package 'MySqlConnector 2.1.12'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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.
Time Elapsed: 00:00:00.1884189
========== Finished ==========

What least version I can run on my project?

You must be logged in to vote

I don't think MySqlConnector has ever supported .NET Framework 4.0.

.NET 4.0 has been unsupported since 12 January 2016: https://docs.microsoft.com/en-us/lifecycle/faq/dotnet-framework. I know it may not be your decision to make, but I strongly encourage you to update to .NET Framework 4.6.2 or later so that you are using a supported version that's receiving security updates.

Replies: 1 comment

Comment options

I don't think MySqlConnector has ever supported .NET Framework 4.0.

.NET 4.0 has been unsupported since 12 January 2016: https://docs.microsoft.com/en-us/lifecycle/faq/dotnet-framework. I know it may not be your decision to make, but I strongly encourage you to update to .NET Framework 4.6.2 or later so that you are using a supported version that's receiving security updates.

You must be logged in to vote
0 replies
Answer selected by zukarusan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /