Re: this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded
Posted by: Fernando Gonzalez Sanchez
Date: August 09, 2013 04:38PM

I guess Powershell for Windows 2008 runs on .NET 2.0 (after all .NET 4.0 appeared some years later).

While there are hack to make old Powershells run on .NET 4, see http://stackoverflow.com/questions/2094694/how-can-i-run-powershell-with-the-net-4-runtime

You can also try loading the MySql.Data for .NET 2.0 (all Connector/NET version from 6.5.x to 6.7.x ship the assemblies for several versions).

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.