Search code examples
c#mysqlmacosvisual-studio-mac

How to add reference to assembly in visual studio mac?


I am sorry. I am newbie in C#. I use Visual Studio Mac. I want to try to connect mysql database. I have added mysql package. When I run, I get error. The error is :

adding a reference to assembly ‘System.Data, Version-4.0.0.0, Culture=neutral, PublicKeyToken

enter image description here


Solution

  • The solution is :

    1. Double click folder 'References' in your project
    2. If you have error like me, you type 'System.Data' and click checkbox then click button