How to add reference to assembly in visual studio mac?

andika_kurniawan picture andika_kurniawan · Jan 22, 2017 · Viewed 19.5k times · Source

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

Answer

Elijah Lofgren picture Elijah Lofgren · Nov 16, 2017

My solution in Visual Studio for Mac 7.3 Preview was to right click on the "Dependencies" node for the project and click "Edit References..."