windows phone 7 - VS 2012 - Can't add MySQL.Data libraries to my WP7 C# project -


i have problem described in question title.

i doesn't understand reason(s) nuget can't add libraries of mysql.data framework project (silverlight v4.0 / c# target windows phone 7.1) in visual studio 2012 express (on windows 8 pro x64). tried add manually .dll files downloading them official mysql site (6.5 , newer versions), unsuccessfully.

it says package doesn't contain references assemblies or data files compatible (mysql.data) framework.

any ideas how risolve problem?

p.s.: give me same error when try install nuget.core package, don't know if it's symptom of corrupt nuget manager...

the mysql.data package depends on system.data library create connection directly database. direct database connections not supported windows phone libraries, since require phone connect databases , establish stateful connection. these types of connections brittle , costly maintain.

when browse packages\**library**\lib folder you'll see binary each supported platform. example htmlagilitypack includes sl4-windowsphone71, , supported. mysql.data not, , such not supported: difference between support of framework versions

instead you'll need expose webservice (xml or json example) can consumed windows phone app in stateless fashion.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -