How do I add an assembly to a Visual Studio project and reference it?

前端 未结 5 1220
夕颜
夕颜 2020-12-20 15:42

I\'ve compiled an assembly for MySql.Data.dll and would like to add it to a new Visual Studio Project. I\'m lost on the correct terminology and how best to go

5条回答
  •  眼角桃花
    2020-12-20 16:42

    Right click on the "References" folder in the list and choose Add reference. On the Browse tab, browse to the directory containing your project, and the subfolder. Select the assembly and add it to the project.

提交回复
热议问题