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

Assembly is built by a runtime newer than currently loaded #321

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Downloaded MySql connector from Mysql.com
2. Downloaded Most recent DbLinq-0.20.1
3. Moved Mysql.Data.dll to DbLinq-0.20.1 folder

Ran command DbMetal.exe -provider=MySql -database:test -server:localhost 
-user:root -password: -namespace:test -code:test.cs -sprocs

Error DbMeta: Could not load file or assembly 'MySql.Data' or one of its 
dependencies.  This assembly is built by a runtime newer than the currently 
loaded runtime and cannot be loaded.

Im new to this and tried to follow the Wiki, but did not help.  When I changed 
the config for MySQL to <provider name="MySQL" 
dbLinqSchemaLoader="DbLinq.MySql.MySqlSchemaLoader, DbLinq.MySql" 
databaseConnection="MySql.Data.MySqlClient.MySqlConnection, 
MySql.Data.MySqlClient, Version=6.3.6.0, Culture=neutral, 
PublicKeyToken=C5687FC88969C44D" /> I got another error: That said could not 
load databaseConnectionType

What is the expected output? What do you see instead?
I expected the dbml file to be built

What version of the product are you using? On what operating system?
0.20.1 on Windows 7

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 7:56

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

No branches or pull requests

1 participant