Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening MySQL.Data source from Github source

I am trying to build the source for the .net connector c# in Visual Studio 2017. I've tried downloading several versions of the MySQL connector from GitHub (https://github.com/mysql/mysql-connector-net/releases), but every version has an issue, I'm not sure what I'm missing.

I tried downloading the latest version 7.0.7-m6 but this throws an error about inconsistent targeting frameworks for a UAP project. I couldn't find anything about what that means so I tried one of the previous versions, 6.10.1 and 6.10.0 but both of these have different problems.

The error I'm getting back is

Source file 'Desktop\mysql-connector-net-6.10.0\Source\MySQL.Data\X\XDevAPI\Common\ColumnTypes.cs' could not be found. 

There's tonnes of these types of errors, looking at the directory, these files don't exist, yet the project is still referencing them.

I would have thought importing a project from a GitHub release would just work and a release definetely wouldn't have files references that don't exist, so what am I missing.

like image 482
Boardy Avatar asked Jun 11 '17 12:06

Boardy


People also ask

Does GitHub have MySQL?

GitHub uses MySQL as its main datastore for all things non- git , and its availability is critical to GitHub's operation. The site itself, GitHub's API, authentication and more, all require database access. We run multiple MySQL clusters serving our different services and tasks.

Is MySQL code open source?

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Can data source be created in MySQL?

1 Creating a Data Source. When creating a report in Crystal Reports there are two options for accessing the MySQL data while designing your report. The first option is to use Connector/ODBC as an ADO data source when designing your report.


1 Answers

Isnt it possible to use the nuget for mysql? The below 6.9.9 compiled at my VS2013 I have removed the tests and EF from projects.

mysql 6.9.9 google drive link

like image 122
Shemeer BK Avatar answered Oct 04 '22 08:10

Shemeer BK