The primary reference “MySql.Data” could not be resolved because it was built against the “.NETFramework,Version=v4.5” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.0”.

We have a VB.NET application which was originally developed with the target framework as .NET Framework 4.5. However, because the client wants it to also run on Windows XP, we were forced it to change to¬†.NET Framework 4. The solution is in this link. Just follow the steps on the Workaround section. I also copied … Continue reading The primary reference “MySql.Data” could not be resolved because it was built against the “.NETFramework,Version=v4.5” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.0”.