How to add reference to assembly in visual studio mac?

前端 未结 4 1187
遥遥无期
遥遥无期 2020-12-19 05:06

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 e

4条回答
  •  死守一世寂寞
    2020-12-19 05:49

    1. 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).

    2. Click 'Edit References'

    3. Select (list defaults to All available) Select (tick) the Project you need to reference that is holding 'System.Data'.

    4. Click OK.

    This will create a link between these two projects and therefore a reference/dependency is created.

提交回复
热议问题