How to add reference to assembly in visual studio mac?
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..."
In Solution Explorer, right click (two finger tap on mousepad for Mac) the 'Dependancies' folder under the Project (current project where you are seeing this error).
Click 'Edit References'
Select (list defaults to All available) Select (tick) the Project you need to reference that is holding 'System.Data'.
Click OK.
This will create a link between these two projects and therefore a reference/dependency is created.
The solution is :
- Double click folder 'References' in your project
- If you have error like me, you type 'System.Data' and click checkbox then click button