打开项目的csproj文件 添加如下代码
代码语言:javascript复制 <ItemGroup>
<None Remove="libxxx.dll" />
<Content Include="libxxx.dll">
<Link>xxx.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
打开项目的csproj文件 添加如下代码
代码语言:javascript复制 <ItemGroup>
<None Remove="libxxx.dll" />
<Content Include="libxxx.dll">
<Link>xxx.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>