一、在项目文件夹中找到后缀为.csproj的文件,打开进行编辑 二、在此文件中添加以下xml格式片段 <ItemGroup> <Reference Include="path/to/dll"> <HintPath>Dll/MvCamCtrl.Net.dll</HintPath> </Reference> </ItemGroup> 注:标签中的HintPath路径从.csproj的文件同级文件夹开始编写